1 ## Test that the copied object has the same yaml conversion as the original.
2 ## The copied object is not bit-identical to the yaml2obj-generated
3 ## one, as yaml2obj uses 5-byte LEBs for section sizes (unlike objcopy/clang).
4 # RUN: yaml2obj %s -o %t.o
5 # RUN: llvm-objcopy %t.o %t2.o
6 # RUN: obj2yaml %t.o > %t.yaml
7 # RUN: obj2yaml %t2.o > %t2.yaml
8 # RUN: diff %t.yaml %t2.yaml
32 - Type: R_WASM_TABLE_INDEX_SLEB
35 - Type: R_WASM_FUNCTION_INDEX_LEB