[compiler-rt] [compiler-rt][sanitizer_common] fix copy_file_range test. (PR #129010)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 22:18:36 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: David CARLIER (devnexen)

<details>
<summary>Changes</summary>

Passing Large File Support.

Address #<!-- -->125816 

---
Full diff: https://github.com/llvm/llvm-project/pull/129010.diff


1 Files Affected:

- (modified) compiler-rt/test/sanitizer_common/TestCases/Linux/copy_file_range.c (+1-1) 


``````````diff
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
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/129010


More information about the llvm-commits mailing list