[compiler-rt] 7521207 - [compiler-rt][sanitizer_common] fix copy_file_range test. (#129010)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 23:12:29 PST 2025
Author: David CARLIER
Date: 2025-02-27T07:12:26Z
New Revision: 7521207e415b19b2924930ac95c2fcf07d56f2f2
URL: https://github.com/llvm/llvm-project/commit/7521207e415b19b2924930ac95c2fcf07d56f2f2
DIFF: https://github.com/llvm/llvm-project/commit/7521207e415b19b2924930ac95c2fcf07d56f2f2.diff
LOG: [compiler-rt][sanitizer_common] fix copy_file_range test. (#129010)
Passing Large File Support.
Address #125816
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Linux/copy_file_range.c
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/copy_file_range.c b/compiler-rt/test/sanitizer_common/TestCases/Linux/copy_file_range.c
index 2fc6ef11cd1ee..2cfdfdcb59ba4 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/copy_file_range.c
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/copy_file_range.c
@@ -1,4 +1,4 @@
-// RUN: %clangxx -O0 %s -o %t
+// RUN: %clangxx -O0 %s -D_FILE_OFFSET_BITS=64 -o %t
// REQUIRES: glibc
More information about the llvm-commits
mailing list