Lines Matching +full:docs +full:- +full:lld +full:- +full:html

2 # RUN: rm -rf %t && split-file %s %t
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t/a.s -o %t/a.o
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t/b.s -o %t/b.o
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t/c.s -o %t/c.o
6 # RUN: ld.lld %t/a.o -o %t/a
7 # RUN: llvm-objdump -t --section-headers %t/a | FileCheck %s
10 ## 1) Address of _etext is the first location after the last read-only loadable segment.
14 ## of _edata." (https://docs.oracle.com/cd/E53394_01/html/E54766/u-etext-3c.html).
18 # CHECK-NEXT: Idx Name Size VMA Type
19 # CHECK-NEXT: 0 00000000 0000000000000000
20 # CHECK-NEXT: 1 .text 00000001 0000000000201158 TEXT
21 # CHECK-NEXT: 2 .data 00000002 0000000000202159 DATA
22 # CHECK-NEXT: 3 .bss 00000006 000000000020215c BSS
24 # CHECK-NEXT: 000000000020215b g .data 0000000000000000 _edata
25 # CHECK-NEXT: 0000000000202162 g .bss 0000000000000000 _end
26 # CHECK-NEXT: 0000000000201159 g .text 0000000000000000 _etext
27 # CHECK-NEXT: 0000000000201158 g .text 0000000000000000 _start
28 # CHECK-NEXT: 000000000020215b g .data 0000000000000000 edata
29 # CHECK-NEXT: 0000000000202162 g .bss 0000000000000000 end
30 # CHECK-NEXT: 0000000000201159 g .text 0000000000000000 etext
32 # RUN: ld.lld -r %t/a.o -o %t/a.ro
33 # RUN: llvm-objdump -t %t/a.ro | FileCheck %s --check-prefix=RELOCATABLE
35 # RELOCATABLE-NEXT: 0000000000000000 *UND* 0000000000000000 _end
36 # RELOCATABLE-NEXT: 0000000000000000 *UND* 0000000000000000 _etext
38 ## If a relocatable object file defines non-reserved identifiers (by C and C++)
41 # RUN: ld.lld %t/b.o -o %t/b
42 # RUN: llvm-objdump -t %t/b | FileCheck %s --check-prefix=CHECK2
43 # RUN: ld.lld %t/c.o -o %t/c
44 # RUN: llvm-objdump -t %t/c | FileCheck %s --check-prefix=CHECK2
46 # RUN: ld.lld %t/c.o %t/lds -o %t/c
47 # RUN: llvm-objdump -t %t/c | FileCheck %s --check-prefix=CHECK2
50 # CHECK2-NEXT: [[#%x,]] g O .bss 0000000000000001 edata
51 # CHECK2-NEXT: [[#%x,]] g O .bss 0000000000000001 end
52 # CHECK2-NEXT: [[#%x,]] g O .bss 0000000000000001 etext
54 #--- a.s
65 #--- b.s
78 #--- c.s
84 #--- lds