aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2024-07-30 09:03:00 +0200
committerGitHub <noreply@github.com>2024-07-30 09:03:00 +0200
commitfcd6bd5587cc376cd8f43b60d1c7d61fdfe0f535 (patch)
tree5f7685b2c2c13c39fac8126742e1c61b722e0a05 /llvm/lib/Support/APFloat.cpp
parent1c25f2cd470c2882e422b66d0482f5a120960394 (diff)
downloadllvm-fcd6bd5587cc376cd8f43b60d1c7d61fdfe0f535.zip
llvm-fcd6bd5587cc376cd8f43b60d1c7d61fdfe0f535.tar.gz
llvm-fcd6bd5587cc376cd8f43b60d1c7d61fdfe0f535.tar.bz2
[sanitizer_common] Fix internal_*stat on Linux/sparc64 (#101012)
``` SanitizerCommon-Unit :: ./Sanitizer-sparcv9-Test/SanitizerCommon/FileOps ``` `FAIL`s on 64-bit Linux/sparc64: ``` projects/compiler-rt/lib/sanitizer_common/tests/./Sanitizer-sparcv9-Test --gtest_filter=SanitizerCommon.FileOps -- compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cpp:144: Failure Expected equality of these values: len1 + len2 Which is: 10 fsize Which is: 1721875535 ``` The issue is similar to the mips64 case: the Linux/sparc64 `*stat` syscalls take a `struct kernel_stat64 *` arg. Also the syscalls actually used differ. This patch handles this, adopting the mips64 code to avoid too much duplication. Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
0 files changed, 0 insertions, 0 deletions