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.
Details
Details
- Reviewers
ldionne luismarques - Commits
- rG6277bd75dc71: [compiler-rt] Fix atomic_test.c on macOS
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo