]> granicus.if.org Git - clang/commitdiff
Driver: fix option declaration
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Jun 2017 15:15:39 +0000 (15:15 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 30 Jun 2017 15:15:39 +0000 (15:15 +0000)
The option is a "joined" argument.  Fix silly copy-paste error.  This
allows the parsing to work at runtime.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306830 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/CC1Options.td

index 5f3ce5e95fee493d91223150d5a1e3cbafb1962e..205f36b723c87ba2f93924d610b006ea65a69cc4 100644 (file)
@@ -145,7 +145,7 @@ def dwarf_debug_flags : Separate<["-"], "dwarf-debug-flags">,
   HelpText<"The string to embed in the Dwarf debug flags record.">;
 def compress_debug_sections : Flag<["-", "--"], "compress-debug-sections">,
     HelpText<"DWARF debug sections compression">;
-def compress_debug_sections_EQ : Flag<["-"], "compress-debug-sections=">,
+def compress_debug_sections_EQ : Joined<["-"], "compress-debug-sections=">,
     HelpText<"DWARF debug sections compression type">;
 def mno_exec_stack : Flag<["-"], "mnoexecstack">,
   HelpText<"Mark the file as not needing an executable stack">;