diff options
author | James Y Knight <jyknight@google.com> | 2015-11-12 18:37:29 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2015-11-12 18:37:29 +0000 |
commit | 7aefb5b62324d3b62473c0f508aadf64bb46876d (patch) | |
tree | 520b8cb41fcf93b0ba33df60177aa77c7ea434ad /lldb/packages/Python/lldbsuite/test/python_api | |
parent | eed0145dd2a8c2ae72553105aac8ad5381d39c03 (diff) | |
download | bcm5719-llvm-7aefb5b62324d3b62473c0f508aadf64bb46876d.tar.gz bcm5719-llvm-7aefb5b62324d3b62473c0f508aadf64bb46876d.zip |
Correct atomic libcall support for __atomic_*_fetch builtins.
In r244063, I had caused these builtins to call the same-named library
functions, __atomic_*_fetch_SIZE. However, this was incorrect: while
those functions are in fact supported by GCC's libatomic, they're not
documented by the spec (and gcc doesn't ever call them).
Instead, you're /supposed/ to call the __atomic_fetch_* builtins and
then redo the operation inline to return the final value.
Differential Revision: http://reviews.llvm.org/D14385
llvm-svn: 252920
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions