aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/Driver/Options.def1
-rw-r--r--tools/ccc/ccclib/Arguments.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Driver/Options.def b/include/clang/Driver/Options.def
index 0a75323441..4e6482cfc6 100644
--- a/include/clang/Driver/Options.def
+++ b/include/clang/Driver/Options.def
@@ -360,6 +360,7 @@ OPTION("-foutput-class-dir=", foutput_class_dir_EQ, Joined, f_Group, INVALID, ""
OPTION("-fpascal-strings", fpascal_strings, Flag, clang_f_Group, INVALID, "", 0)
OPTION("-fpic", fpic, Flag, f_Group, INVALID, "", 0)
OPTION("-fpie", fpie, Flag, f_Group, INVALID, "", 0)
+OPTION("-fprint-source-range-info", fprint_source_range_info, Flag, clang_f_Group, INVALID, "", 0)
OPTION("-fprofile-arcs", fprofile_arcs, Flag, f_Group, INVALID, "", 0)
OPTION("-fprofile-generate", fprofile_generate, Flag, f_Group, INVALID, "", 0)
OPTION("-framework", framework, Separate, INVALID, INVALID, "l", 0)
diff --git a/tools/ccc/ccclib/Arguments.py b/tools/ccc/ccclib/Arguments.py
index 7451e216b4..4373b17405 100644
--- a/tools/ccc/ccclib/Arguments.py
+++ b/tools/ccc/ccclib/Arguments.py
@@ -842,6 +842,7 @@ class OptionParser:
self.f_PIEOption = self.addOption(FlagOption('-fPIE', self.fGroup))
self.f_picOption = self.addOption(FlagOption('-fpic', self.fGroup))
self.f_PICOption = self.addOption(FlagOption('-fPIC', self.fGroup))
+ self.addOption(FlagOption('-fprint-source-range-info', self.Clang_fGroup))
self.f_profileArcsOption = self.addOption(FlagOption('-fprofile-arcs', self.fGroup))
self.f_profileGenerateOption = self.addOption(FlagOption('-fprofile-generate', self.fGroup))
self.f_terminatedVtablesOption = self.addOption(FlagOption('-fterminated-vtables', self.fGroup))