tools: fix Twine abuse
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 30 Jan 2014 06:19:27 +0000 (06:19 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 30 Jan 2014 06:19:27 +0000 (06:19 +0000)
commit0dd6b9b9744d99ec53f6be961d0714f64f380327
treeed4538420061c41e1f2a9c8b593367ba8f96dacd
parenta2a6c3911debf0499ac8658b56844de261e42050
tools: fix Twine abuse

utohexstr provides a temporary string, making it unsafe to use with the Twine
interface which will not copy the string.  Switch to using std::string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200457 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-readobj/ARMAttributeParser.cpp