aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDimitrije Milosevic <dimitrije.milosevic@syrmia.com>2022-07-06 12:24:58 +0200
committerDjordje Todorovic <djordje.todorovic@syrmia.com>2022-07-06 12:44:29 +0200
commit5d8077565e4196efdd4ed525a64c11a96d5aa5dd (patch)
tree7db4620291174c674532133a603f73a62ef74df4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent9f492a9ae5cf9fc9d89c9da837cdb652207a2d6e (diff)
downloadllvm-5d8077565e4196efdd4ed525a64c11a96d5aa5dd.zip
llvm-5d8077565e4196efdd4ed525a64c11a96d5aa5dd.tar.gz
llvm-5d8077565e4196efdd4ed525a64c11a96d5aa5dd.tar.bz2
[MIPS] Resolve issues in building ASAN for N32 ABI
Building the compiler-rt's AddressSanitizer for the n32 MIPS ABI currently fails, due to a few reasons: - defined(__mips64), which is set solely based on the architecture type (32-bit/64-bit), was still used in some places. Therefore, defined(__mips64) is swapped with SANITIZER_MIPS64, which takes the ABI into account as well - defined(__mips64) && _MIPS_SIM == ABI64. - The n32 ABI still uses 64-bit *Linux* system calls, even though the word size is 32 bits. - After the transition to canonical system calls (D124212), the n32 ABI still didn't use them, even though they are supported. Differential Revision: https://reviews.llvm.org/D127098
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions