aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2020-12-22 11:43:48 +0000
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2020-12-22 11:56:20 +0000
commit6277bd75dc71ab6cf856ae9a778cab2c90840ca6 (patch)
tree122a5642a60ea83e9d3a1cf808395cea72ac9ff0 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent0f81598cc1f46b9919b3500d7c4743dd7a5eac1a (diff)
downloadllvm-6277bd75dc71ab6cf856ae9a778cab2c90840ca6.zip
llvm-6277bd75dc71ab6cf856ae9a778cab2c90840ca6.tar.gz
llvm-6277bd75dc71ab6cf856ae9a778cab2c90840ca6.tar.bz2
[compiler-rt] Fix atomic_test.c on macOS
The macOS name mangling adds another underscore. Therefore, on macOS the __atomic_* functions are actually ___atomic_* in libcompiler_rt.dylib. To handle this case, prepend the asm() argument with __USER_LABEL_PREFIX__ in the same way that atomic.c does. Reviewed By: ldionne Differential Revision: https://reviews.llvm.org/D92833
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions