Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

devnexen
Copy link
Member

Passing Large File Support.

Address #125816

@llvmbot
Copy link
Member

llvmbot commented Feb 27, 2025

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

Author: David CARLIER (devnexen)

Changes

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

@devnexen devnexen requested a review from vitalybuka February 27, 2025 06:19
@devnexen devnexen merged commit 7521207 into llvm:main Feb 27, 2025
13 checks passed
joaosaffran pushed a commit to joaosaffran/llvm-project that referenced this pull request Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants