summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-03-08 23:15:54 +0000
committerEric Fiselier <eric@efcs.ca>2019-03-08 23:15:54 +0000
commit0e1586c4fb108a13478a8d7e3610bb211600562c (patch)
tree7b83830721463c0d2bead343c9f4264cfa80131f /lldb/source/Plugins/ScriptInterpreter/Python
parentd84f6059105fe400c60fcd5e64674adaf6190613 (diff)
downloadbcm5719-llvm-0e1586c4fb108a13478a8d7e3610bb211600562c.tar.gz
bcm5719-llvm-0e1586c4fb108a13478a8d7e3610bb211600562c.zip
Unbork `std::memory_order` ABI.
Summary: We need to pin the underlying type of C++20' `std::memory_order` to match the C++17 version. Anything less is an ABI break. At the moment it's `unsigned` before C++20 and `int` after. Or if you're using `-fshort-enums` it's `unsigned char` before C++20 and `int` after. This patch explicitly specifies the underlying type of the C++20 `memory_order` to be w/e type the compiler would have chosen for the C++17 version. Reviewers: mclow.lists, ldionne Reviewed By: ldionne Subscribers: jfb, jdoerfert, #libc, zoecarver Differential Revision: https://reviews.llvm.org/D59063 llvm-svn: 355755
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud