[llvm] r285214 - [MC] Fix comma typo in .loc parsing
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 26 17:08:48 PDT 2016
Do you have a testcase for this?
-- adrian
> On Oct 26, 2016, at 10:28 AM, Nirav Dave via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>
> 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,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list