We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 972b540 commit 9c486a4Copy full SHA for 9c486a4
lld/test/wasm/dylink-non-pie.s
@@ -3,6 +3,7 @@
3
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
4
# RUN: wasm-ld -m wasm32 -Bdynamic %t.o %t.lib.so -o %t.wasm
5
# RUN: obj2yaml %t.wasm | FileCheck %s
6
+# RUN: llvm-objdump -d --no-show-raw-insn --no-leading-addr %t.wasm | FileCheck %s --check-prefixes DIS
7
8
.functype ret32 (f32) -> (i32)
9
.functype _start () -> ()
@@ -27,3 +28,10 @@ f_p:
27
28
# CHECK: - Type: EXPORT
29
# CHECK: - Name: __wasm_apply_data_relocs
30
# CHECK-NEXT: Kind: FUNCTION
31
+
32
+# DIS: <__wasm_apply_data_relocs>:
33
+# DIS-EMPTY:
34
+# DIS-NEXT: i32.const 1024
35
+# DIS-NEXT: global.get 0
36
+# DIS-NEXT: i32.store 0
37
+# DIS-NEXT: end
0 commit comments