[PATCH] D159398: [AArch64][Clang] Disable outline atomics in freestanding env
Vladislav Khmelevsky via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 4 06:04:02 PDT 2023
yota9 added a comment.
The problem here is that if you would remove the freestanding condition and run this test it would fail since "-target-feature" "+outline-atomics" would be passed to the clang. And usually we don't want the compiler to use any external symbols in freestanding mode, this is the reason why -fno-builtin is implied with freestanding option. So it seems to be logical to me to disable outline-atomics too in this situation even if the compiler have runtime library available
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159398/new/
https://reviews.llvm.org/D159398
More information about the cfe-commits
mailing list