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

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


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

Passing Large File Support.

Address #125816 

>From f1feda9f2f67d6a5d600b9b98eefa52e65e62949 Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen at gmail.com>
Date: Thu, 27 Feb 2025 06:16:32 +0000
Subject: [PATCH] [compiler-rt][sanitizer_common] fix copy_file_range test.

Passing Large File Support.
---
 .../test/sanitizer_common/TestCases/Linux/copy_file_range.c     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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