[Hexagon] Remove std::hex in favor of format().
authorAlexey Samsonov <vonosmas@gmail.com>
Wed, 2 Dec 2015 21:13:43 +0000 (21:13 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Wed, 2 Dec 2015 21:13:43 +0000 (21:13 +0000)
commit9343bd9aff1ce501c26cb3d111bc868731ca0d96
tree05b5390c6da243434bad775b85ac297a8cfe7768
parentd3f55e582b38a074efbb3317fb27ec4e61a80a39
[Hexagon] Remove std::hex in favor of format().

std::hex is not used anywhere in LLVM code base except for this place,
and it has a known undefined behavior (at least in libstdc++ 4.9.3):
https://llvm.org/bugs/show_bug.cgi?id=18156, which fires in UBSan
bootstrap of LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254547 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp