aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ModuleSymbolTable.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2024-09-24 09:35:08 +0200
committerGitHub <noreply@github.com>2024-09-24 09:35:08 +0200
commit3907d186d627f8957627b2861cf6f879d07c93c2 (patch)
tree5069a883d1406d616fb241da5fa53cc6d1c01ae8 /llvm/lib/Object/ModuleSymbolTable.cpp
parent4ac141683c310447f0efba775dc59b2145511ac0 (diff)
downloadllvm-3907d186d627f8957627b2861cf6f879d07c93c2.zip
llvm-3907d186d627f8957627b2861cf6f879d07c93c2.tar.gz
llvm-3907d186d627f8957627b2861cf6f879d07c93c2.tar.bz2
[sanitizer_common] Heed __ndbl_ prefix for 32-bit Linux/sparc64 inter… (#109106)
…ceptors When ASan testing is enabled on SPARC as per PR #107405, a couple of tests `FAIL` on Linux/sparc64: ``` AddressSanitizer-sparc-linux :: TestCases/printf-2.c AddressSanitizer-sparc-linux :: TestCases/printf-3.c AddressSanitizer-sparc-linux :: TestCases/printf-4.c AddressSanitizer-sparc-linux :: TestCases/printf-5.c SanitizerCommon-asan-sparc-Linux :: Linux/unexpected_format_specifier_test.cpp ``` It turns out the interceptors aren't used since on Linux/sparc64 `double` and `long double` are the same, and a couple of `stdio` functions are prefixed with `__nldbl_` (no long double) accordingly. This patch handles this. Tested on `sparc64-unknown-linux-gnu`.
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions