[llvm] [orc-rt] Remove duplicate section from regression test README. NFC. (PR #227503)
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 15:49:01 PDT 2026
https://github.com/lhames created https://github.com/llvm/llvm-project/pull/227503
The "Tests with more than one source file" section appeared twice. Remove the older copy.
>From 66be23e1ff714cd190bf1280f1491add0788fbb5 Mon Sep 17 00:00:00 2001
From: Lang Hames <lhames at gmail.com>
Date: Wed, 30 Sep 2026 08:47:03 +1000
Subject: [PATCH] [orc-rt] Remove duplicate section from regression test
README. NFC.
The "Tests with more than one source file" section appeared twice. Remove the
older copy.
---
orc-rt/test/regression/README.md | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/orc-rt/test/regression/README.md b/orc-rt/test/regression/README.md
index 2d424308eb1aa..d3734982c6dc6 100644
--- a/orc-rt/test/regression/README.md
+++ b/orc-rt/test/regression/README.md
@@ -123,30 +123,6 @@ int main(void) {
}
```
-### Tests with more than one source file
-
-Tests that need more than one source file (e.g. to link several objects) are
-`.test` files that hold their sources, split out with `split-file`:
-
-```
-# Check that JIT'd code can load from global data defined in another object.
-
-REQUIRES: split-file
-RUN: rm -rf %t && split-file %s %t
-RUN: %{cc} -O0 -c -o %t/def.O0.o %t/def.c
-RUN: %{cc} -O0 -c -o %t/main.O0.o %t/main.c
-RUN: %{obj-jit} -show-jit-result %t/main.O0.o %t/def.O0.o | FileCheck %s
-
-CHECK: JIT result: 0
-
-#--- def.c
-int Data = 42;
-
-#--- main.c
-extern int Data;
-int main(void) { return Data == 42 ? 0 : 1; }
-```
-
### Substitutions
* **`%{cc}`**: Compiles C for the runtime's target.
More information about the llvm-commits
mailing list