diff options
author | Luís Marques <luismarques@lowrisc.org> | 2020-04-18 12:51:25 +0100 |
---|---|---|
committer | Luís Marques <luismarques@lowrisc.org> | 2020-04-18 12:53:22 +0100 |
commit | a348de480d34257ffe394ab51b880c9aef243d80 (patch) | |
tree | fbe3c80a544eaf6bfb878f409e5820a5982e3cb3 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 0b242151016a9a235e61ba4324f8f107e299b554 (diff) | |
download | llvm-a348de480d34257ffe394ab51b880c9aef243d80.zip llvm-a348de480d34257ffe394ab51b880c9aef243d80.tar.gz llvm-a348de480d34257ffe394ab51b880c9aef243d80.tar.bz2 |
[CMake][NFC] Clean up CheckAtomic.cmake
`CheckAtomic.cmake` was skipping the test of whether atomics work in MSVC
without an atomics library (they do), but not setting the value of
`HAVE_CXX_ATOMICS_WITHOUT_LIB`. That caused build issues when trying to land
D69869. I fixed that issue in f128f442a3d, by adding an `elseif(MSVC)`, as
was being done below in the 64-bit atomics check. That minimal fix did work,
but it kept various inconsistencies between the original atomics check and
the 64-bit one. This patch now makes the checks follow the same structure,
cleaning them up.
Differential Revision: https://reviews.llvm.org/D74767
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions