[PATCH] D69869: [clang-tools-extra] fix the check for if '-latomic' is necessary

2020-02-14 Thread Luís Marques via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG1d40c4150630: [clang-tools-extra] fix the check for if -latomic is necessary (authored by gokturk, committed by luismarques). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D69869: [clang-tools-extra] fix the check for if '-latomic' is necessary

2020-02-14 Thread Luís Marques via Phabricator via cfe-commits
luismarques accepted this revision. luismarques added a comment. This revision is now accepted and ready to land. Whether or not GCC behaves the way it should behave regarding atomics, this seems like a sensible patch to make things work given the current situation. LGTM. Repository: rG LLVM

[PATCH] D69869: [clang-tools-extra] fix the check for if '-latomic' is necessary

2019-11-19 Thread Gokturk Yuksek via Phabricator via cfe-commits
gokturk added a comment. ping Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69869/new/ https://reviews.llvm.org/D69869 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D69869: [clang-tools-extra] fix the check for if '-latomic' is necessary

2019-11-11 Thread Gokturk Yuksek via Phabricator via cfe-commits
gokturk added a comment. Let me try my best to explain what's happening. The goal of this check is to determine whether passing `-latomic` is required. Let's start with the code used by `check_working_cxx_atomics64`

[PATCH] D69869: [clang-tools-extra] fix the check for if '-latomic' is necessary

2019-11-06 Thread Saleem Abdulrasool via Phabricator via cfe-commits
compnerd added a comment. I agree with @efriedma that it sounds odd, could you explain that please? It took about 3 reads before I saw the OUT in the WITHOUT, and then realized that this was just: `NOT (HAVE_CXX_ATOMICS_WITHOUT_LIB AND HAVE_CXX_ATOMICS64_WITHOUT_LIB)`. I don't know if there

[PATCH] D69869: [clang-tools-extra] fix the check for if '-latomic' is necessary

2019-11-05 Thread Eli Friedman via Phabricator via cfe-commits
efriedma added a comment. > while failing on 8-bit atomic operations as there is no hardware support That's weird; it should be possible to emulate 8-bit atomic operations on top of 64-bit cmpxchg. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D69869: [clang-tools-extra] fix the check for if '-latomic' is necessary

2019-11-05 Thread Gokturk Yuksek via Phabricator via cfe-commits
gokturk created this revision. gokturk added reviewers: ilya-biryukov, nridge, kadircet, beanz, compnerd. Herald added subscribers: cfe-commits, usaxena95, s.egerton, lenary, PkmX, jfb, arphaman, jkorous, simoncook, mgorny. Herald added a project: clang. The CheckAtomic module performs two tests