Use llvm to do endian conversions.
authorZachary Turner <zturner@google.com>
Tue, 30 Aug 2016 19:28:01 +0000 (19:28 +0000)
committerZachary Turner <zturner@google.com>
Tue, 30 Aug 2016 19:28:01 +0000 (19:28 +0000)
commit9cbc8db016e1d7e09fe87c370c0bc68414cbdb29
treeec25688ddf93c03c7e37bcf5312973aa53ed0dce
parent3fb1a8554de714cf7e01b8b57b4d073d170676da
Use llvm to do endian conversions.

LLDB was rolling its own endian conversion code, but functions to
do this already exist in LLVM.  While the code was probably
correct, no point reinventing the wheel when we have well tested
equivalents in LLVM that are one-liners.

llvm-svn: 280137
lldb/source/Utility/StringExtractor.cpp