summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2018-09-08 03:55:25 +0000
committerJF Bastien <jfbastien@apple.com>2018-09-08 03:55:25 +0000
commitc4986cef12cd3d6f2256a938e50007695ddd9673 (patch)
treef67238fbb9d21ebb47df51eb9909b566ece819a2 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parent58963e4396d6557aa8509c90ef753a3f41e5f662 (diff)
downloadbcm5719-llvm-c4986cef12cd3d6f2256a938e50007695ddd9673.tar.gz
bcm5719-llvm-c4986cef12cd3d6f2256a938e50007695ddd9673.zip
ADT: add <bit> header, implement C++20 bit_cast, use
Summary: I saw a few places that were punning through a union of FP and integer, and that made me sad. Luckily, C++20 adds bit_cast for exactly that purpose. Implement our own version in ADT (without constexpr, leaving us a bit sad), and use it in the few places my grep-fu found silly union punning. This was originally committed as r341728 and reverted in r341730. Reviewers: javed.absar, steven_wu, srhines Subscribers: dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D51693 llvm-svn: 341741
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud