Introduce -fatal-assembler-warnings for the obvious purpose

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Joerg Sonnenberger
2011-05-19 17:27:01 +00:00
parent d48cfaec35
commit bae1c924ce
2 changed files with 14 additions and 8 deletions

View File

@@ -369,11 +369,9 @@ bool DarwinAsmParser::ParseDirectiveDumpOrLoad(StringRef Directive,
// FIXME: If/when .dump and .load are implemented they will be done in the
// the assembly parser and not have any need for an MCStreamer API.
if (IsDump)
Warning(IDLoc, "ignoring directive .dump for now");
return Warning(IDLoc, "ignoring directive .dump for now");
else
Warning(IDLoc, "ignoring directive .load for now");
return false;
return Warning(IDLoc, "ignoring directive .load for now");
}
/// ParseDirectiveLsym