summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
index fdd191e0cbf..88ca2ae5080 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
@@ -1073,7 +1073,7 @@ DWARFContextInMemory::DWARFContextInMemory(
SmallString<32> Name;
Reloc.getTypeName(Name);
ErrorPolicy EP = HandleError(
- createError("failed to compute relocation: " + name + ", ",
+ createError("failed to compute relocation: " + Name + ", ",
errorCodeToError(object_error::parse_failed)));
if (EP == ErrorPolicy::Halt)
return;
OpenPOWER on IntegriCloud