GCC Middle and Back End API Reference
file-find.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  prefix_list
 
struct  path_prefix
 

Functions

void find_file_set_debug (bool)
 
charfind_a_file (struct path_prefix *, const char *, int)
 
void add_prefix (struct path_prefix *, const char *)
 
void add_prefix_begin (struct path_prefix *, const char *)
 
void prefix_from_env (const char *, struct path_prefix *)
 
void prefix_from_string (const char *, struct path_prefix *)
 

Function Documentation

◆ add_prefix()

void add_prefix ( struct path_prefix * pprefix,
const char * prefix )
extern
Add an entry for PREFIX at the end of prefix list PREFIX.   

References do_add_prefix(), ggc_alloc(), and prefix_list::prefix.

Referenced by main(), prefix_from_string(), and driver::set_up_specs().

◆ add_prefix_begin()

void add_prefix_begin ( struct path_prefix * pprefix,
const char * prefix )
extern
Add an entry for PREFIX at the begin of prefix list PREFIX.   

References do_add_prefix(), ggc_alloc(), and prefix_list::prefix.

Referenced by main().

◆ find_a_file()

char * find_a_file ( struct path_prefix * pprefix,
const char * name,
int mode )
extern

◆ find_file_set_debug()

void find_file_set_debug ( bool debug_state)
extern

References debug, and ggc_alloc().

Referenced by main().

◆ prefix_from_env()

void prefix_from_env ( const char * env,
struct path_prefix * pprefix )
extern
Take the value of the environment variable ENV, break it into a path, and
add of the entries to PPREFIX.   

References env, ggc_alloc(), and prefix_from_string().

Referenced by main(), and setup_prefixes().

◆ prefix_from_string()

void prefix_from_string ( const char * p,
struct path_prefix * pprefix )
extern