aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2025-08-21 15:16:50 +0900
committerYi Kong <yikong@google.com>2025-08-21 15:19:06 +0900
commit1ff7c8bf0dd6ffe2003c754d81c0cd32ae95bbe4 (patch)
tree3da6eaaab275ea8e55704d45d63ade5df155b10b /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentb96d5c2452f67af6c2ffbb5f48cfa0b35c890586 (diff)
downloadllvm-1ff7c8bf0dd6ffe2003c754d81c0cd32ae95bbe4.zip
llvm-1ff7c8bf0dd6ffe2003c754d81c0cd32ae95bbe4.tar.gz
llvm-1ff7c8bf0dd6ffe2003c754d81c0cd32ae95bbe4.tar.bz2
[compiler-rt] Fix musl build
The change in PR #154268 introduced a dependency on the `__GLIBC_PREREQ` macro, which is not defined in musl libc. This caused the build to fail in environments using musl. This patch fixes the build by including `sanitizer_common/sanitizer_glibc_version.h`. This header provides a fallback definition for `__GLIBC_PREREQ` when LLVM is built against non-glibc C libraries, resolving the compilation error.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions