[llvm] 878060a - [Orc][examples] Re-enable test for LLJITWithRemoteDebugging
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 23 08:01:35 PDT 2021
Author: Stefan Gränitz
Date: 2021-10-23T17:01:13+02:00
New Revision: 878060aaf9650e4c8faa9dca6bae6e09621e70e1
URL: https://github.com/llvm/llvm-project/commit/878060aaf9650e4c8faa9dca6bae6e09621e70e1
DIFF: https://github.com/llvm/llvm-project/commit/878060aaf9650e4c8faa9dca6bae6e09621e70e1.diff
LOG: [Orc][examples] Re-enable test for LLJITWithRemoteDebugging
The test was removed temporarily in a539a847c9428e36722dcb43a1c953c9d66b7f0b to aid switching the RPC API in use in the LLJITWithRemoteDebugging example.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D110649
Added:
llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
Modified:
Removed:
################################################################################
diff --git a/llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test b/llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
new file mode 100644
index 000000000000..a09d72a76bef
--- /dev/null
+++ b/llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
@@ -0,0 +1,12 @@
+# This test makes sure that the example builds and executes as expected.
+# Instructions for debugging can be found in LLJITWithRemoteDebugging.cpp
+
+# RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll | FileCheck --check-prefix=CHECK0 %s
+# CHECK0: Parsing input IR code from: {{.*}}/Inputs/argc_sub1_elf.ll
+# CHECK0: Running: main()
+# CHECK0: Exit code: 0
+
+# RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll --args 2nd 3rd 4th | FileCheck --check-prefix=CHECK3 %s
+# CHECK3: Parsing input IR code from: {{.*}}/Inputs/argc_sub1_elf.ll
+# CHECK3: Running: main("2nd", "3rd", "4th")
+# CHECK3: Exit code: 3
More information about the llvm-commits
mailing list