[lldb] Use llvm::byteswap in DumpRegisterValue
authorDavid Spickett <david.spickett@linaro.org>
Tue, 18 Apr 2023 08:15:50 +0000 (08:15 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Tue, 18 Apr 2023 08:18:59 +0000 (08:18 +0000)
commit9984cfc86ed6d5c1558d8dd82d82448e50d704ad
tree175e215763984c551219281109560501a1e0848e
parent6a10381b6f123631db37007e9f9ecbe4559cf29e
[lldb] Use llvm::byteswap in DumpRegisterValue

7978abd5aef1ba84d7a1cefbc3443245acff2c48 fixed a build issue
on MSVC with some code I previously added, by adding some
ifdefs.

Now I realise that I should have been using llvm::byteswap
in the first place, which does exactly that.
lldb/source/Core/DumpRegisterValue.cpp