File: loc.s

package info (click to toggle)
llvm-toolchain-13 1%3A13.0.1-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,418,840 kB
  • sloc: cpp: 5,290,826; ansic: 996,570; asm: 544,593; python: 188,212; objc: 72,027; lisp: 30,291; f90: 25,395; sh: 24,898; javascript: 9,780; pascal: 9,398; perl: 7,484; ml: 5,432; awk: 3,523; makefile: 2,913; xml: 953; cs: 573; fortran: 539
file content (35 lines) | stat: -rw-r--r-- 1,268 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -S -r --sd - | FileCheck %s
        .file   2 "foo"
        .file   1 "bar"
        .loc    2 64 0
        nop

// CHECK: Section {
// CHECK:     Index: 1
// CHECK:     Name: __debug_line (5F 5F 64 65 62 75 67 5F 6C 69 6E 65 00 00 00 00)
// CHECK:     Segment: __DWARF (5F 5F 44 57 41 52 46 00 00 00 00 00 00 00 00 00)
// CHECK:     Address: 0x1
// CHECK:     Size: 0x3D
// CHECK:     Offset: 237
// CHECK:     Alignment: 0
// CHECK:     RelocationOffset: 0x12C
// CHECK:     RelocationCount: 1
// CHECK:     Type: Regular (0x0)
// CHECK:     Attributes [ (0x20000)
// CHECK:       Debug (0x20000)
// CHECK:     ]
// CHECK:     Reserved1: 0x0
// CHECK:     Reserved2: 0x0
// CHECK:     SectionData (
// CHECK:       000: 39000000 04002200 00000101 01FB0E0D  |9.....".........|
// CHECK:       010: 00010101 01000000 01000001 00626172  |.............bar|
// CHECK:       020: 00000000 666F6F00 00000000 04020005  |....foo.........|
// CHECK:       030: 02000000 00033F01 02010001 01        |......?......|
// CHECK:     )
// CHECK:   }
// CHECK: ]
// CHECK: Relocations [
// CHECK:   Section __debug_line {
// CHECK:     0x31 0 2 0 GENERIC_RELOC_VANILLA 0 __text
// CHECK:   }
// CHECK: ]