[LLD][COFF] Ignore DEBUG_S_XFGHASH_TYPE/VIRTUAL
[llvm-project.git] / lld / test / wasm / comdat-sections.s
blob4fd555618b3bf66961574d168979751451679a6e
1 # RUN: llvm-mc -triple=wasm32 -filetype=obj %p/Inputs/comdat1.s -o %t1.o
2 # RUN: llvm-mc -triple=wasm32 -filetype=obj %p/Inputs/comdat2.s -o %t2.o
3 # RUN: llvm-mc -triple=wasm32 -filetype=obj %s -o %t.o
4 # RUN: wasm-ld -o %t.wasm %t.o %t1.o %t2.o
5 # RUN: obj2yaml %t.wasm | FileCheck %s
7 .functype foo () -> ()
9 .globl _start
10 .type _start,@function
11 _start:
12 .functype _start () -> ()
13 call foo
14 end_function
17 # Check that we got 1 copy of each of the .debug_foo sections from the 2 object
18 # files, and that they came from the same object.
19 # CHECK: - Type: CUSTOM
20 # CHECK-NEXT: Name: .debug_foo
21 # CHECK-NEXT: Payload: 010000007B00000000000000