summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CMakeLists.txt
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2019-07-03 16:32:01 +0000
committerKostya Kortchinsky <kostyak@google.com>2019-07-03 16:32:01 +0000
commitf50a953ea77623fd286ef238f9bb49f56ad46fee (patch)
treeba27a5fddbd1c006c54a0b1fb7c9122bb0f5ab37 /llvm/lib/Analysis/CMakeLists.txt
parentbddb8c35973929b3d7fc268a1296f24e247c07b9 (diff)
downloadbcm5719-llvm-f50a953ea77623fd286ef238f9bb49f56ad46fee.tar.gz
bcm5719-llvm-f50a953ea77623fd286ef238f9bb49f56ad46fee.zip
[scudo][standalone] Link tests against libatomic
Summary: Some clang versions (< 6.0) do not inline the atomic builtin functions leaving unresolved references to `__atomic_load_8` and so on (seems to be mostly 64-bit atomics on 32-bit platforms). I tried without success to use some cmake magic to detect when that would be the case, and decided to fall back to unconditionally linking libatomic. Reviewers: morehouse, eugenis, vitalybuka, hctim, tejohnson Reviewed By: tejohnson Subscribers: mgorny, delcypher, jfb, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D64134 llvm-svn: 365052
Diffstat (limited to 'llvm/lib/Analysis/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud