aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2024-12-12 15:59:48 +0000
committerGitHub <noreply@github.com>2024-12-12 15:59:48 +0000
commite5371eded9c22ec4854634c9c58df793562f782d (patch)
tree709793f634542b2d0fcd8a4f7e18e9efb45ca7a7 /clang/lib/Basic/SourceManager.cpp
parent6c8f41d3367476d35ac730abf9f980291737193b (diff)
downloadllvm-e5371eded9c22ec4854634c9c58df793562f782d.zip
llvm-e5371eded9c22ec4854634c9c58df793562f782d.tar.gz
llvm-e5371eded9c22ec4854634c9c58df793562f782d.tar.bz2
[compiler-rt] Don't build SME routines if __arm_cpu_features is not initialised. (#119703)
According to the conversation [here](https://github.com/llvm/llvm-project/pull/119414#issuecomment-2536495859), some platforms don't enable `__arm_cpu_features` with a global constructor, but rather do so lazily when called from the FMV resolver. PR #119414 removed the CMake guard to check to see if the targetted platform is baremetal or supports sys/auxv. Without this check, the routines rely on `__arm_cpu_features` being initialised when they may not be, depending on the platform. This PR simply avoids building the SME routines for those platforms for now.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions