diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2021-06-11 19:44:04 +0100 |
---|---|---|
committer | Harald van Dijk <harald@gigawatt.nl> | 2021-06-11 19:44:04 +0100 |
commit | 27ef43d279b2f6d0c7bac7718f3904bb204ed646 (patch) | |
tree | ddf17c19b45d75777354744c54ae6cc5a4048594 /llvm/lib/Support/Signposts.cpp | |
parent | a67780f7db26f0b3588e9366cd6b66ec1434ab1c (diff) | |
download | llvm-27ef43d279b2f6d0c7bac7718f3904bb204ed646.zip llvm-27ef43d279b2f6d0c7bac7718f3904bb204ed646.tar.gz llvm-27ef43d279b2f6d0c7bac7718f3904bb204ed646.tar.bz2 |
[compiler-rt] Add platform detection support for x32
Currently, the compiler-rt build system checks only whether __X86_64
is defined to determine whether the default compiler-rt target arch
is x86_64. Since x32 defines __X86_64 as well, we must also check that
the default pointer size is eight bytes and not four bytes to properly
detect a 64-bit x86_64 compiler-rt default target arch.
Reviewed By: hvdijk, vitalybuka
Differential Revision: https://reviews.llvm.org/D99988
Diffstat (limited to 'llvm/lib/Support/Signposts.cpp')
0 files changed, 0 insertions, 0 deletions