aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorAlex Brachet <abrachet@google.com>2023-09-11 12:36:06 -0400
committerGitHub <noreply@github.com>2023-09-11 12:36:06 -0400
commit62bec3de128d3dda3d400eaf20cfb3ac220e23d1 (patch)
tree4e5373e2b67399f41b0534a23f5a868a56d01895 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent74e4e9e6f29244ad9a1814b2fd4a739776fca45d (diff)
downloadllvm-62bec3de128d3dda3d400eaf20cfb3ac220e23d1.zip
llvm-62bec3de128d3dda3d400eaf20cfb3ac220e23d1.tar.gz
llvm-62bec3de128d3dda3d400eaf20cfb3ac220e23d1.tar.bz2
[libcxx] Fix include directory order (#65859)
It's important that the arch directory be included first so that its header files which interpose on the default include dir be included instead of the default ones. The clang driver [1] does this when not building with -nostdinc, the libcxx build should do the same. We found this after https://reviews.llvm.org/D154282 when cross compiling from non Linux to Linux. If the host machine was not Linux, _LIBCPP_HAS_NO_TIME_ZONE_DATABASE would be defined in the default include dir __config_site, while it was undefined in the arch specific one causing build failures.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions