summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread
diff options
context:
space:
mode:
authorVolodymyr Sapsai <vsapsai@apple.com>2019-05-13 22:40:11 +0000
committerVolodymyr Sapsai <vsapsai@apple.com>2019-05-13 22:40:11 +0000
commit51e79f06342b7a39f2e794b19bcd464d4c592f05 (patch)
tree90428c9ec9eba59603f293d8a5960def3f7a27ec /lldb/packages/Python/lldbsuite/test/python_api/thread
parent5f245bfca8391c5b61b3d59798bc5819b42f6097 (diff)
downloadbcm5719-llvm-51e79f06342b7a39f2e794b19bcd464d4c592f05.tar.gz
bcm5719-llvm-51e79f06342b7a39f2e794b19bcd464d4c592f05.zip
[X86] Make `x86intrin.h`, `immintrin.h` includable with `-fno-gnu-inline-asm`.
Currently `immintrin.h` includes `pconfigintrin.h` and `sgxintrin.h` which contain inline assembly. It causes failures when building with the flag `-fno-gnu-inline-asm`. Fix by excluding functions with inline assembly when this extension is disabled. So far there was no need to support `_pconfig_u32`, `_enclu_u32`, `_encls_u32`, `_enclv_u32` on platforms that require `-fno-gnu-inline-asm`. But if developers start using these functions, they'll have compile-time undeclared identifier errors which is preferrable to runtime errors. rdar://problem/49540880 Reviewers: craig.topper, GBuella, rnk, echristo Reviewed By: rnk Subscribers: jkorous, dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D61621 llvm-svn: 360630
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud