aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.0/gcc/opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.0/gcc/opts.h')
-rw-r--r--gcc-4.4.0/gcc/opts.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc-4.4.0/gcc/opts.h b/gcc-4.4.0/gcc/opts.h
index 7a13fb705..21c561c47 100644
--- a/gcc-4.4.0/gcc/opts.h
+++ b/gcc-4.4.0/gcc/opts.h
@@ -98,6 +98,15 @@ extern const char **in_fnames;
extern unsigned num_in_fnames;
+/* GCC command-line arguments used during profile-gen, that are saved to the
+ profile data file. During profile-use, these can be compared to make sure
+ only those auxiliary modules are actually imported that use a compatible
+ set of GCC flags as the primary module. */
+extern const char **lipo_cl_args;
+
+/* The size of the above mentioned mentioned array. */
+extern unsigned num_lipo_cl_args;
+
size_t find_opt (const char *input, int lang_mask);
extern void prune_options (int *argcp, char ***argvp);
extern void decode_options (unsigned int argc, const char **argv);
@@ -111,4 +120,5 @@ extern void add_input_filename (const char *filename);
extern void add_module_info (unsigned mod_id, bool is_primary, int index);
extern void set_lipo_c_parsing_context (struct cpp_reader *parse_in, int i, bool verbose);
extern void coverage_note_define (const char *cpp_def, bool is_def);
+extern void set_profile_use (bool value, bool sample_profile, bool force);
#endif