mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
Correction for r131662, the GNU as option is --fatal-warnings.
llvm-svn: 131671
This commit is contained in:
@@ -78,5 +78,5 @@ def relax_all : Flag<"-relax-all">,
|
||||
def no_exec_stack : Flag<"--noexecstack">,
|
||||
HelpText<"Mark the file as not needing an executable stack">;
|
||||
|
||||
def fatal_warnings : Flag<"-fatal-warnings">,
|
||||
def fatal_warnings : Flag<"--fatal-warnings">,
|
||||
HelpText<"Consider warnings as errors">;
|
||||
|
||||
@@ -1020,7 +1020,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
// Do nothing, this is the default and we don't support anything else.
|
||||
} else if (Value == "-L") {
|
||||
CmdArgs.push_back("-msave-temp-labels");
|
||||
} else if (Value == "-fatal-warnings") {
|
||||
} else if (Value == "--fatal-warnings") {
|
||||
CmdArgs.push_back("-mllvm");
|
||||
CmdArgs.push_back("-fatal-assembler-warnings");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user