summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 57f5b0a27e9..dd672a0357f 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -157,6 +157,22 @@ int flag_print_asm_name
Variable
enum graph_dump_types graph_dump_format = no_graph
+; Name of top-level original source file (what was input to cpp).
+; This comes from the #-command at the beginning of the actual input.
+; If there isn't any there, then this is the cc1 input file name.
+Variable
+const char *main_input_filename
+
+; Pointer to base name in main_input_filename, with directories and a
+; single final extension removed, and the length of this base
+; name.
+
+Variable
+const char *main_input_basename
+
+Variable
+int main_input_baselength
+
; Which options have been printed by --help.
Variable
char *help_printed