1 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
2 # RUN: wasm-ld -o %t.wasm %t.o
3 # RUN: obj2yaml %t.wasm | FileCheck %s
5 # Debug sections are allowed to contains references to non-live symbols that
6 # then get GC'd. In this test the .debug_info section contains a reference to
7 # foo which is not otherwise used and will not be marked a live in the output.
8 # Verify the tombstone value is written to debug_info section.
14 .functype _start () -> ()
17 .section .debug_info,"",@
22 # CHECK: - Type: CUSTOM
23 # CHECK-NEXT: Name: .debug_info
24 # CHECK-NEXT: Payload: FFFFFFFF