diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-13 10:03:45 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-13 10:03:45 +0000 |
commit | 3bf8224fa3818b5afab529915018facffcb215ea (patch) | |
tree | a6c890272636b03ef2969ac4a447990eecc6700e | |
parent | 1fbee5d02860d3c72a713d3dfb4179fa9f400cb3 (diff) |
ccc/Driver: Forward -fprint-source-range-info to clang.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66879 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Driver/Options.def | 1 | ||||
-rw-r--r-- | tools/ccc/ccclib/Arguments.py | 1 |
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)) |