1 # RUN: yaml2obj %s > %t.o
2 # RUN: llvm-size -B %t.o | FileCheck %s
13 Flags: [ SHF_ALLOC, SHF_WRITE ]
17 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
19 - Name: .unusual_name_for_code
21 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
29 Flags: [ SHF_ALLOC, SHF_WRITE ]
33 Flags: [ SHF_ALLOC, SHF_WRITE ]
35 - Name: .text.but_not_really
45 Flags: [ SHF_ALLOC, SHF_WRITE ]
48 # text is .text, .eh_frame, .unusual_name_for_code: 2 + 4 + 64 = 70
49 # data is .data, .init_array, .moar_stuff: 8 + 32 + 128 = 168
52 # unaccounted for (not affecting total) is .debug_info, .text.but_not_really
54 # CHECK: text data bss dec