1 ## Test that linking, reloc, and name sections are stripped by --strip-all.
3 ## These get a separate test because ObjectYaml understands relocs and names,
4 ## so the test needs to be a valid object with relocs and names.
6 # RUN: yaml2obj %s -o %t
7 # RUN: llvm-objcopy --strip-all %t %t2
8 # RUN: obj2yaml %t2 | FileCheck --implicit-check-not=Type: %s
10 ## Check that the known sections are still present.
13 # CHECK: - Type: FUNCTION
15 ## Check that there are still functions in the code section.
31 - Type: R_WASM_FUNCTION_INDEX_LEB
45 Flags: [ BINDING_LOCAL ]