/external/llvm-project/lld/test/ELF/linkerscript/ |
D | linkorder.s | 8 # RUN: llvm-readelf -S -x .rodata -x .text %t | FileCheck %s 10 # CHECK: [ 1] .rodata {{.*}} AL 3 20 # RUN: llvm-readelf -S -x .rodata -x .text %t1 | FileCheck --check-prefix=CHECK1 %s 22 # CHECK1: [ 1] .rodata {{.*}} AL 3 32 # RUN: echo 'SECTIONS { .rodata : {*(.rodata.foo) *(.rodata.bar)} }' > %t2.lds 39 # CHECK2: Hex dump of section '.rodata': 43 # RUN: echo 'SECTIONS { .rodata : {*(.rodata.foo) BYTE(0) *(.rodata.bar)} }' > %t3.lds 50 # CHECK3: Hex dump of section '.rodata': 54 # RUN: echo 'SECTIONS { .rodata : {*(.rodata.foo) *(.text) *(.rodata.bar)} }' > %t4.lds 58 # CHECK4: Hex dump of section '.rodata': [all …]
|
D | merge-output-sections.s | 7 # RUN: llvm-readelf -x .rodata %t | FileCheck --check-prefix=SAME %s --implicit-check-not=section 18 # RUN: llvm-readelf -x .rodata.foo -x .rodata.bar %t2 | FileCheck --check-prefix=DIFF %s --implicit… 25 .section .rodata.foo,"aM",@progbits,2,unique,0 28 .section .rodata.foo,"aM",@progbits,2,unique,1 32 .section .rodata.bar,"aM",@progbits,2,unique,0 34 .section .rodata.bar,"aM",@progbits,2,unique,1
|
/external/llvm-project/lld/test/ELF/ |
D | icf-safe.s | 17 # CHECK-NOT: selected section {{.*}}:(.rodata.h1) 18 # CHECK: selected section {{.*}}:(.rodata.h3) 19 # CHECK: removing identical section {{.*}}:(.rodata.h4) 21 # CHECK-NOT: selected section {{.*}}:(.rodata.l1) 22 # CHECK: selected section {{.*}}:(.rodata.l3) 23 # CHECK: removing identical section {{.*}}:(.rodata.l4) 25 # CHECK-NOT: selected section {{.*}}:(.rodata.g1) 26 # CHECK: selected section {{.*}}:(.rodata.g3) 27 # CHECK: removing identical section {{.*}}:(.rodata.g4) 31 # With --icf=all address-significance implies keep-unique only for rodata, not [all …]
|
D | icf9.s | 8 # SEC: .rodata PROGBITS 0000000000200120 000120 000002 00 A 0 0 1 10 # CHECK-NOT: selected section {{.*}}:(.rodata.d1) 11 # CHECK-NOT: selected section {{.*}}:(.rodata.d2) 13 # We do merge rodata if passed --icf-data 18 # DATA: selected section {{.*}}:(.rodata.d1) 19 # DATA: removing identical section {{.*}}:(.rodata.d2) 21 # DATA-SEC: .rodata PROGBITS 0000000000200120 000120 000001 00 A 0 0 1 27 .section .rodata.d1, "a" 31 .section .rodata.d2, "a"
|
D | merge-string-align2.s | 6 # RUN: llvm-readelf -x .rodata %t | FileCheck %s 9 # SEC: .rodata PROGBITS {{.*}} 000006 01 AMS 0 0 8 15 .section .rodata.str1.8,"aMS",@progbits,1 19 .section .rodata.str1.2,"aMS",@progbits,1 23 .section .rodata.str1.1,"aMS",@progbits,1
|
D | no-merge.s | 9 # CHECK: Contents of section .rodata: 12 .section .rodata.a,"a",@progbits 15 .section .rodata.ams,"aMS",@progbits,1 18 .section .rodata.am,"aM",@progbits,1
|
D | merge-relocatable.s | 10 # CHECK: Name: .rodata.cst8 13 # CHECK: Name: .rela.rodata.cst8 19 .section .rodata.cst8,"aM",@progbits,8,unique,0 22 .section .rodata.cst8,"aM",@progbits,8,unique,1
|
D | icf14.s | 17 .section .rodata.str,"aMS",@progbits,1 18 .globl rodata symbol 19 rodata: label 23 .quad rodata
|
D | merge-align.s | 6 .section .rodata.foo,"aM",@progbits,1 10 .section .rodata.bar,"aM",@progbits,1 14 .section .rodata.zed,"aM",@progbits,1
|
D | tail-merge-string-align.s | 6 .section .rodata.4a,"aMS",@progbits,1 10 .section .rodata.4b,"aMS",@progbits,1 14 .section .rodata.4c,"aMS",@progbits,1
|
D | merge-string-align.s | 6 .section .rodata.foo,"aMS",@progbits,1 10 .section .rodata.foo2,"aMS",@progbits,1 14 .section .rodata.bar,"aMS",@progbits,1
|
D | icf-merged-sections.s | 9 # NOICF-NOT: selected section <internal>:(.rodata) 11 # CHECK: Name: .rodata 27 .section .rodata.cst4,"aM",@progbits,4 34 .section .rodata.cst8,"aM",@progbits,8
|
/external/llvm-project/clang/test/Sema/ |
D | pragma-clang-section.c | 2 #pragma clang section bss = "mybss.1" data = "mydata.1" rodata = "myrodata.1" text = "mytext.1" // … 3 #pragma clang section bss="" data="" rodata="" text="" 15 #pragma clang section rodata "myrodata.2" // expected-error {{expected '=' following '#pragma cla… 18 #pragma clang section bss="" data="" rodata="" text="" more //expected-error {{expected one of [bss… 21 #pragma clang section rodata = "mydata.1" // expected-error {{this causes a section ty… 25 #pragma clang section rodata = "myrodata.4" // expected-note {{#pragma entered here}}
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | relptr-rodata.ll | 8 ; CHECK: .section .rodata.rodata 9 ; CHECK: rodata: 10 ; CHECK: .long hidden-rodata 11 @rodata = hidden constant i32 trunc (i64 sub (i64 ptrtoint (i8* @hidden to i64), i64 ptrtoint (i32*… 23 ; CHECK: .section .rodata.cst8 38 ; CHECK: .section .rodata.rodata2
|
D | global-sections-comdat.ll | 29 ; LINUX-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat 34 ; LINUX-SECTIONS-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat 39 ; LINUX-SECTIONS-SHORT-NEXT: .section .rodata,"aG",@progbits,F1,comdat 44 ; LINUX: .section .rodata.cst4.G16,"aGM",@progbits,4,G16,comdat 45 ; LINUX-SECTIONS: .section .rodata.cst4.G16,"aGM",@progbits,4,G16,comdat 46 ; LINUX-SECTIONS-SHORT: .section .rodata.cst4,"aGM",@progbits,4,G16,comdat
|
D | explicit-section-mergeable.ll | 22 ; CHECK: .section .rodata,"a",@progbits,unique,2 24 ; CHECK: .section .rodata.cst4,"aM",@progbits,4 26 ; CHECK: .section .rodata.cst8,"aM",@progbits,8 28 ; CHECK: .section .rodata.str4.4,"aMS",@progbits,4 92 ; CHECK: .section .rodata.cst16,"a",@progbits,unique,7 96 @explicit_default_1 = constant [2 x i64] [i64 1, i64 1], section ".rodata.cst16" 98 ; CHECK: .section .rodata.cst16,"aM",@progbits,16 102 @explicit_default_2 = unnamed_addr constant [2 x i64] [i64 1, i64 1], section ".rodata.cst16" 117 ; CHECK: .section .rodata.cst4,"aMo",@progbits,4,implicit_rodata_cst4,unique,9 119 ; CHECK: .section .rodata.cst8,"aMo",@progbits,8,implicit_rodata_cst4,unique,10 [all …]
|
D | global-sections.ll | 40 ; LINUX-NEX: .section .rodata,"a",@progbits 45 ; LINUX-SECTIONS-NEXT: .section .rodata.F2,"a",@progbits 50 ; LINUX-FUNC-SECTIONS-NEXT: .section .rodata.F2,"a",@progbits 60 ; LINUX-SECTIONS-PIC-NEXT: .section .rodata.F2,"a",@progbits 120 ; TODO: linux drops this into .rodata, we drop it into ".gnu.linkonce.r.G2" 135 ; LINUX: .section .rodata,"a",@progbits 138 ; LINUX-SECTIONS: .section .rodata.G3,"a",@progbits 208 ; LINUX: .section .rodata.str1.1,"aMS",@progbits,1 213 ; LINUX-SECTIONS: .section .rodata.str1.1,"aMS",@progbits,1 226 ; LINUX: .section .rodata.str2.2,"aMS",@progbits,2 [all …]
|
/external/llvm-project/llvm/test/tools/llvm-objdump/X86/ |
D | section-filter-relocs.test | 7 # RUN: llvm-objdump -d -r %t.o --section=.text --section=.rodata \ 16 # DISASM: Disassembly of section .rodata: 18 # DISASM-NEXT: 0000000000000000 <.rodata>: 64 - Name: .rodata 68 - Name: .rela.rodata 70 Info: .rodata 79 # RUN: llvm-objdump -r %t.o --section=.another.rela.text --section=.rela.rodata \ 85 # DUMP-RELOCS: RELOCATION RECORDS FOR [.rodata]: 92 # RUN: --implicit-check-not=.rodata
|
D | disassemble-zeroes-relocations.test | 6 # CHECK: 0000000000000000 .rodata: 21 # SKIP: 0000000000000000 <.rodata>: 24 # SKIP-NEXT: Disassembly of section .rela.rodata: 33 - Name: .rodata 38 - Name: .rela.rodata 44 Info: .rodata
|
D | section-filter-disasm.test | 8 # RUN: --implicit-check-not=.rodata --implicit-check-not=.data 10 # RUN: llvm-objdump -d %t.o --section=.rodata \ 14 # RUN: llvm-objdump -d %t.o --section=.rodata --section=.text \ 18 # RUN: llvm-objdump -d %t.o --section=.rodata --section=.text --section=.data \ 21 # RODATA: Disassembly of section .rodata 32 - Name: .rodata
|
/external/boringssl/src/util/fipstools/delocate/testdata/x86_64-Sections/ |
D | in.s | 11 # .rodata is moved to .text. 12 .section .rodata 16 # Compilers sometimes emit extra rodata sections. 17 .section .rodata.str1.1,"aMS",@progbits,1 25 .section .rodata
|
D | out.s | 17 # .rodata is moved to .text. 18 # WAS .section .rodata 23 # Compilers sometimes emit extra rodata sections. 24 # WAS .section .rodata.str1.1,"aMS",@progbits,1 33 # WAS .section .rodata
|
/external/llvm/test/CodeGen/X86/ |
D | global-sections-comdat.ll | 29 ; LINUX-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat 34 ; LINUX-SECTIONS-NEXT: .section .rodata.F1,"aG",@progbits,F1,comdat 39 ; LINUX-SECTIONS-SHORT-NEXT: .section .rodata,"aG",@progbits,F1,comdat 44 ; LINUX: .section .rodata.cst4.G16,"aGM",@progbits,4,G16,comdat 45 ; LINUX-SECTIONS: .section .rodata.cst4.G16,"aGM",@progbits,4,G16,comdat 46 ; LINUX-SECTIONS-SHORT: .section .rodata.cst4,"aGM",@progbits,4,G16,comdat
|
D | global-sections.ll | 40 ; LINUX-NEX: .section .rodata,"a",@progbits 45 ; LINUX-SECTIONS-NEXT: .section .rodata.F2,"a",@progbits 50 ; LINUX-FUNC-SECTIONS-NEXT: .section .rodata.F2,"a",@progbits 60 ; LINUX-SECTIONS-PIC-NEXT: .section .rodata.F2,"a",@progbits 120 ; TODO: linux drops this into .rodata, we drop it into ".gnu.linkonce.r.G2" 135 ; LINUX: .section .rodata,"a",@progbits 138 ; LINUX-SECTIONS: .section .rodata.G3,"a",@progbits 208 ; LINUX: .section .rodata.str1.1,"aMS",@progbits,1 213 ; LINUX-SECTIONS: .section .rodata.str1.1,"aMS",@progbits,1 226 ; LINUX: .section .rodata.str2.2,"aMS",@progbits,2 [all …]
|
/external/llvm-project/clang/test/CodeGen/ |
D | clang-sections-attribute.c | 29 #pragma clang section rodata=".ext_const_pragma" 32 #pragma clang section rodata="" 34 #pragma clang section rodata=".int_const_pragma" 37 #pragma clang section rodata=""
|