[llvm] r357138 - Fix typoed variable name.
Eric Christopher via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 27 18:12:13 PDT 2019
Author: echristo
Date: Wed Mar 27 18:12:13 2019
New Revision: 357138
URL: http://llvm.org/viewvc/llvm-project?rev=357138&view=rev
Log:
Fix typoed variable name.
NFCI.
Modified:
llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
Modified: llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp?rev=357138&r1=357137&r2=357138&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp Wed Mar 27 18:12:13 2019
@@ -546,12 +546,12 @@ void SourcePrinter::printSourceLine(raw_
if (!Symbolizer)
return;
DILineInfo LineInfo = DILineInfo();
- auto ExpectecLineInfo =
+ auto ExpectedLineInfo =
Symbolizer->symbolizeCode(Obj->getFileName(), Address);
- if (!ExpectecLineInfo)
- consumeError(ExpectecLineInfo.takeError());
+ if (!ExpectedLineInfo)
+ consumeError(ExpectedLineInfo.takeError());
else
- LineInfo = *ExpectecLineInfo;
+ LineInfo = *ExpectedLineInfo;
if ((LineInfo.FileName == "<invalid>") || OldLineInfo.Line == LineInfo.Line ||
LineInfo.Line == 0)
More information about the llvm-commits
mailing list