diff options
| author | Kostya Kortchinsky <kostyak@google.com> | 2019-07-03 16:32:01 +0000 |
|---|---|---|
| committer | Kostya Kortchinsky <kostyak@google.com> | 2019-07-03 16:32:01 +0000 |
| commit | f50a953ea77623fd286ef238f9bb49f56ad46fee (patch) | |
| tree | ba27a5fddbd1c006c54a0b1fb7c9122bb0f5ab37 /llvm/lib/Analysis/CMakeLists.txt | |
| parent | bddb8c35973929b3d7fc268a1296f24e247c07b9 (diff) | |
| download | bcm5719-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

