1 ## Test that sections that use function indices (e.g. name) work without the code section
2 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-objdump -h %t | FileCheck %s
6 # CHECK-NEXT: Idx Name Size VMA Type
7 # CHECK-NEXT: 0 TYPE 00000004 00000000
8 # CHECK-NEXT: 1 FUNCTION 00000002 00000000
9 # CHECK-NEXT: 2 name 00000008 00000000