1RUN: lldb-test object-file %p/Inputs/sections.syms -contents | FileCheck %s 2 3CHECK: Showing 6 sections 4 5CHECK: Index: 0 6CHECK-NEXT: ID: 0x1 7CHECK-NEXT: Name: MODULE 8CHECK-NEXT: Type: regular 9CHECK-NEXT: Permissions: --- 10CHECK-NEXT: Thread specific: no 11CHECK-NEXT: VM address: 0 12CHECK-NEXT: VM size: 0 13CHECK-NEXT: File size: 64 14CHECK-NEXT: Data: ( 15CHECK-NEXT: 0000: 4D4F4455 4C45204C 696E7578 20783836 5F363420 30303030 30303030 32344235 |MODULE Linux x86_64 0000000024B5| 16CHECK-NEXT: 0020: 44313939 46304637 36364646 46464646 35444333 30206C69 6E75782E 6F75740A |D199F0F766FFFFFF5DC30 linux.out.| 17CHECK-NEXT: ) 18 19CHECK: Index: 1 20CHECK-NEXT: ID: 0x2 21CHECK-NEXT: Name: INFO 22CHECK-NEXT: Type: regular 23CHECK-NEXT: Permissions: --- 24CHECK-NEXT: Thread specific: no 25CHECK-NEXT: VM address: 0 26CHECK-NEXT: VM size: 0 27CHECK-NEXT: File size: 46 28CHECK-NEXT: Data: ( 29CHECK-NEXT: 0000: 494E464F 20434F44 455F4944 20303030 30303030 30423532 34393944 31463046 |INFO CODE_ID 00000000B52499D1F0F| 30CHECK-NEXT: 0020: 37363646 46464646 46354443 330A |766FFFFFF5DC3.| 31CHECK-NEXT: ) 32 33CHECK: Index: 2 34CHECK-NEXT: ID: 0x3 35CHECK-NEXT: Name: FILE 36CHECK-NEXT: Type: regular 37CHECK-NEXT: Permissions: --- 38CHECK-NEXT: Thread specific: no 39CHECK-NEXT: VM address: 0 40CHECK-NEXT: VM size: 0 41CHECK-NEXT: File size: 16 42CHECK-NEXT: Data: ( 43CHECK-NEXT: 0000: 46494C45 2030202F 746D702F 612E630A |FILE 0 /tmp/a.c.| 44CHECK-NEXT: ) 45 46CHECK: Index: 3 47CHECK-NEXT: ID: 0x4 48CHECK-NEXT: Name: FUNC 49CHECK-NEXT: Type: regular 50CHECK-NEXT: Permissions: --- 51CHECK-NEXT: Thread specific: no 52CHECK-NEXT: VM address: 0 53CHECK-NEXT: VM size: 0 54CHECK-NEXT: File size: 66 55CHECK-NEXT: Data: ( 56CHECK-NEXT: 0000: 46554E43 20313031 30203130 2030205F 73746172 740A3130 31302034 20342030 |FUNC 1010 10 0 _start.1010 4 4 0| 57CHECK-NEXT: 0020: 0A313031 34203520 3520300A 31303139 20352036 20300A31 30316520 32203720 |.1014 5 5 0.1019 5 6 0.101e 2 7 | 58CHECK-NEXT: 0040: 300A |0.| 59CHECK-NEXT: ) 60 61CHECK: Index: 4 62CHECK-NEXT: ID: 0x5 63CHECK-NEXT: Name: PUBLIC 64CHECK-NEXT: Type: regular 65CHECK-NEXT: Permissions: --- 66CHECK-NEXT: Thread specific: no 67CHECK-NEXT: VM address: 0 68CHECK-NEXT: VM size: 0 69CHECK-NEXT: File size: 21 70CHECK-NEXT: Data: ( 71CHECK-NEXT: 0000: 5055424C 49432031 30313020 30205F73 74617274 0A |PUBLIC 1010 0 _start.| 72CHECK-NEXT: ) 73 74CHECK: Index: 5 75CHECK-NEXT: ID: 0x6 76CHECK-NEXT: Name: STACK CFI 77CHECK-NEXT: Type: regular 78CHECK-NEXT: Permissions: --- 79CHECK-NEXT: Thread specific: no 80CHECK-NEXT: VM address: 0 81CHECK-NEXT: VM size: 0 82CHECK-NEXT: File size: 136 83CHECK-NEXT: Data: ( 84CHECK-NEXT: 0000: 53544143 4B204346 4920494E 49542031 30313020 3130202E 6366613A 20247273 |STACK CFI INIT 1010 10 .cfa: $rs| 85CHECK-NEXT: 0020: 70203820 2B202E72 613A202E 63666120 2D38202B 205E0A53 5441434B 20434649 |p 8 + .ra: .cfa -8 + ^.STACK CFI| 86CHECK-NEXT: 0040: 20313031 31202472 62703A20 2E636661 202D3136 202B205E 202E6366 613A2024 | 1011 $rbp: .cfa -16 + ^ .cfa: $| 87CHECK-NEXT: 0060: 72737020 3136202B 0A535441 434B2043 46492031 30313420 2E636661 3A202472 |rsp 16 +.STACK CFI 1014 .cfa: $r| 88CHECK-NEXT: 0080: 62702031 36202B0A |bp 16 +.| 89CHECK-NEXT: ) 90