diff options
-rw-r--r-- | lld/ELF/Relocations.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp index 3cdad5de645..d9a62a6a9e2 100644 --- a/lld/ELF/Relocations.cpp +++ b/lld/ELF/Relocations.cpp @@ -556,8 +556,7 @@ std::string getLocation(InputSectionBase<ELFT> &S, typename ELFT::uint Offset) { return SrcFile + ":(function " + maybeDemangle(Encl->getName()) + ")"; // If there's no symbol, print out the offset instead of a symbol name. - return (SrcFile + ":(" + S.Name + "+0x" + Twine::utohexstr(Offset) + ")") - .str(); + return (SrcFile + ":(" + S.Name + "+0x" + utohexstr(Offset) + ")").str(); } template <class ELFT> |