GCC Middle and Back End API Reference
file_prefix_map Struct Reference
Collaboration diagram for file_prefix_map:

Data Fields

const charold_prefix
 
const charnew_prefix
 
size_t old_len
 
size_t new_len
 
bool canonicalize
 
struct file_prefix_mapnext
 

Detailed Description

Implementation of file prefix remapping support (-f*-prefix-map options).
Copyright (C) 2017-2024 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3, or (at your option) any
later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
Structure recording the mapping from source file and directory names at
compile time to those to be embedded in the compilation result (debug
information, the __FILE__ macro expansion, etc).   

Field Documentation

◆ canonicalize

bool file_prefix_map::canonicalize

◆ new_len

size_t file_prefix_map::new_len

◆ new_prefix

const char* file_prefix_map::new_prefix

◆ next

struct file_prefix_map* file_prefix_map::next

◆ old_len

size_t file_prefix_map::old_len

◆ old_prefix

const char* file_prefix_map::old_prefix

The documentation for this struct was generated from the following file: