diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-06-29 14:05:18 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-06-29 14:05:18 +0000 |
commit | b25a09d0f520a563ab91b8973e2fd76ed4fb7b8f (patch) | |
tree | 0085da80a0eda71b3ebc883d06760c80714a09e5 | |
parent | 559aa75382e941a1c0c2fc5724d5274c20f2adf8 (diff) | |
download | bcm5719-llvm-b25a09d0f520a563ab91b8973e2fd76ed4fb7b8f.tar.gz bcm5719-llvm-b25a09d0f520a563ab91b8973e2fd76ed4fb7b8f.zip |
[DWARF] - Fix message reporting about broken relocation.
Because of mistake introduced in r306517,
wrong variable ("name" instead of "Name") was used
in error message.
As a result it reported section name instead of
relocation name.
This file still needs cleanup to match LLVM coding style
and more tests I think.
llvm-svn: 306677
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 2 |
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; |