[llvm] r285214 - [MC] Fix comma typo in .loc parsing
Nirav Dave via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 10:28:58 PDT 2016
Author: niravd
Date: Wed Oct 26 12:28:58 2016
New Revision: 285214
URL: http://llvm.org/viewvc/llvm-project?rev=285214&view=rev
Log:
[MC] Fix comma typo in .loc parsing
Modified:
llvm/trunk/lib/MC/MCParser/AsmParser.cpp
Modified: llvm/trunk/lib/MC/MCParser/AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCParser/AsmParser.cpp?rev=285214&r1=285213&r2=285214&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCParser/AsmParser.cpp (original)
+++ llvm/trunk/lib/MC/MCParser/AsmParser.cpp Wed Oct 26 12:28:58 2016
@@ -3228,7 +3228,7 @@ bool AsmParser::parseDirectiveLoc() {
return false;
};
- if (parseMany(parseLocOp))
+ if (parseMany(parseLocOp, false /*hasComma*/))
return true;
getStreamer().EmitDwarfLocDirective(FileNumber, LineNumber, ColumnPos, Flags,
More information about the llvm-commits
mailing list