[PATCH] D110649: [ORC][examples] Re-enable test for LLJITWithRemoteDebugging

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 28 12:38:09 PDT 2021


sgraenitz created this revision.
sgraenitz added a reviewer: lhames.
sgraenitz requested review of this revision.
Herald added a project: LLVM.

The test was removed temporarily in a539a847c9428e36722dcb43a1c953c9d66b7f0b <https://reviews.llvm.org/rGa539a847c9428e36722dcb43a1c953c9d66b7f0b> to aid switching the RPC API in use in the LLJITWithRemoteDebugging example.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110649

Files:
  llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test


Index: llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
===================================================================
--- /dev/null
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110649.375668.patch
Type: text/x-patch
Size: 869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210928/f588f65d/attachment.bin>


More information about the llvm-commits mailing list