[llvm] [WebAssembly] Add path to PIC mode for wasm tables (PR #67545)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 1 17:58:46 PDT 2023
================
@@ -1,5 +1,5 @@
-# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj < %s | obj2yaml | FileCheck %s
-# RUN: llvm-mc -triple=wasm32-unknown-unknown -mattr=+reference-types -filetype=obj < %s | obj2yaml | FileCheck --check-prefix=REF %s
+# RUN: sed -e '/^REF-/d' %s | llvm-mc -triple=wasm32-unknown-unknown -filetype=obj | obj2yaml | FileCheck %s
+# RUN: sed -e 's/^REF-//g' %s | llvm-mc -triple=wasm32-unknown-unknown -mattr=+reference-types -filetype=obj | obj2yaml | FileCheck --check-prefix=REF %s
----------------
sbc100 wrote:
Is this something is OK to do in lit test? I've not seen this sed pattern before.
https://github.com/llvm/llvm-project/pull/67545
More information about the llvm-commits
mailing list