search for: getlocrang

Displaying 1 result from an estimated 1 matches for "getlocrang".

Did you mean: getlocrange
2013 Aug 14
1
[LLVMdev] [PATCH] fix corruption in X86AsmParser
....cpp 2013-05-05 02:40:33.000000000 +0200 +++ llvm-toolchain-3.3-3.3/lib/Target/X86/AsmParser/X86AsmParser.cpp 2013-08-14 16:26:44.721547396 +0200 @@ -2382,8 +2382,10 @@ if (!WasOriginallyInvalidOperand) { ArrayRef<SMRange> Ranges = MatchingInlineAsm ? EmptyRanges : Op->getLocRange(); - return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'", - Ranges, MatchingInlineAsm); + SmallString<126> Msg; + raw_svector_ostream OS(Msg); + OS << "invalid instruction mnemonic '" <<...