2 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o %t
3 # RUN: lldb-test object-file %t | FileCheck %s
5 ## Check that we are able to parse ELF files with more than SHN_LORESERVE
6 ## sections. This generates a file that contains 64k sections from
7 ## aaaaaaaa..dddddddd, plus a couple of standard ones (.strtab, etc.)
8 ## Check the number is correct plus the names of a couple of chosen sections.
10 # CHECK: Showing 65541 sections
11 # CHECK: Name: aaaaaaaa
12 # CHECK: Name: bbbbbbbb
13 # CHECK: Name: cccccccc
14 # CHECK: Name: abcdabcd
15 # CHECK: Name: dddddddd
17 .macro gen_sections4 x
24 .macro gen_sections16 x
31 .macro gen_sections64 x
38 .macro gen_sections256 x
45 .macro gen_sections1024 x
52 .macro gen_sections4096 x
59 .macro gen_sections16384 x