Home
last modified time | relevance | path

Searched full:sections (Results 1 – 25 of 3953) sorted by relevance

12345678910>>...159

/llvm-project/llvm/test/tools/llvm-objcopy/COFF/
H A Donly-keep-debug.test1 RUN: yaml2obj %p/Inputs/only-keep-sections.yaml -o %t.in.exe
4 RUN: llvm-readobj --sections %t.out.exe | FileCheck %s --check-prefix=SECTIONS
11 Check that all non-debug/buildid sections with IMAGE_SCN_CNT_CODE
14 SECTIONS: Sections [
15 SECTIONS-NEXT: Section {
16 SECTIONS-NEXT: Number: 1
17 SECTIONS-NEXT: Name: .text
18 SECTIONS-NEXT: VirtualSize: 0x4
19 SECTIONS-NEXT: VirtualAddress:
20 SECTIONS-NEXT: RawDataSize: 0
[all …]
H A Dadd-gnu-debuglink.test7 RUN: llvm-readobj --sections %t.out.exe | FileCheck %s --check-prefix=SECTIONS
10 # Show the last of the preexisting sections, which is used for choosing
13 SECTIONS: Section {
14 SECTIONS: Number: 4
15 SECTIONS-NEXT: Name: .pdata
16 SECTIONS-NEXT: VirtualSize: 0x18
17 SECTIONS-NEXT: VirtualAddress: 0x4000
18 SECTIONS-NEXT: RawDataSize: 512
19 SECTIONS: Section {
20 SECTIONS-NEXT: Number: 5
[all …]
H A Dstrip-debug.test3 # RUN: llvm-objdump --section-headers %t.in.o | FileCheck %s --check-prefixes=SECTIONS,SECTIONS-PRE
7 # RUN: llvm-objdump --section-headers %t.out.o | FileCheck %s --check-prefixes=SECTIONS
11 # plus llvm-strip without arguments all produce a similiar set of sections
15 # RUN: llvm-objdump --section-headers %t.strip-all.o | FileCheck %s --check-prefixes=SECTIONS
18 # RUN: llvm-objdump --section-headers %t.strip-all-gnu.o | FileCheck %s --check-prefixes=SECTIONS
21 # RUN: llvm-objdump --section-headers %t.discard-all.o | FileCheck %s --check-prefixes=SECTIONS
24 # RUN: llvm-objdump --section-headers %t.strip-unneeded.o | FileCheck %s --check-prefixes=SECTIONS
26 # SECTIONS: Sections:
27 # SECTIONS-NEXT: Idx Name
28 # SECTIONS-NEXT: 0 .text
[all …]
/llvm-project/llvm/test/CodeGen/X86/
H A Dglobal-sections.ll5 …%s -mtriple=i386-unknown-linux-gnu -data-sections -function-sections | FileCheck %s -check-prefix=…
6 … < %s -mtriple=i386-unknown-linux-gnu -function-sections | FileCheck %s -check-prefix=LINUX-FUNC-S…
7 …mtriple=x86_64-pc-linux -data-sections -function-sections -relocation-model=pic | FileCheck %s -ch…
8 …N: llc < %s -mtriple=i686-pc-win32 -data-sections -function-sections | FileCheck %s -check-prefix=…
9 … RUN: llc < %s -mtriple=i686-pc-win32 -function-sections | FileCheck %s -check-prefix=WIN32-FUNC-S…
15 ; WIN32-SECTIONS: .section .text,"xr",one_only,_F1
16 ; WIN32-SECTIONS: .globl _F1
42 ; LINUX-SECTIONS: .section .text.F2,"ax",@progbits
43 ; LINUX-SECTIONS: .size F2,
44 ; LINUX-SECTIONS-NEXT: .cfi_endproc
[all …]
H A Dbasic-block-sections-list.ll1 ;; Check the basic block sections list option.
9 …tion-sections -basic-block-sections=%t1 -unique-basic-block-section-names | FileCheck %s -check-pr…
10 …ux -basic-block-sections=%t1 -unique-basic-block-section-names | FileCheck %s -check-prefix=LINUX-
11 …asic-block-sections=%t1 -unique-basic-block-section-names --bbsections-guided-section-prefix=false…
12 …tion-sections -basic-block-sections=%t2 -unique-basic-block-section-names | FileCheck %s -check-pr…
13 …ux -basic-block-sections=%t2 -unique-basic-block-section-names | FileCheck %s -check-prefix=LINUX-
14 …asic-block-sections=%t2 -unique-basic-block-section-names --bbsections-guided-section-prefix=false…
71 ; LINUX-SECTIONS-NO-GUIDED-PREFIX: .section .text._Z3foob,"ax",@progbits
72 ; LINUX-SECTIONS: .section .text.hot._Z3foob,"ax",@progbits
73 ; LINUX-SECTIONS: _Z3foob:
[all …]
H A Dbasic-block-sections.ll1 …-pc-linux -function-sections -basic-block-sections=all -unique-basic-block-section-names | FileChe…
2 …e=x86_64-pc-linux -basic-block-sections=all -unique-basic-block-section-names | FileCheck %s -chec…
3 …unction-sections -basic-block-sections=all -unique-basic-block-section-names -split-machine-functi…
4 …inux-gnu -function-sections -basic-block-sections=all -unique-basic-block-section-names | FileChe…
5 …nknown-linux-gnu -basic-block-sections=all -unique-basic-block-section-names | FileCheck %s -chec…
32 ; LINUX-SECTIONS: .section .text._Z3bazb,"ax",@progbits
33 ; LINUX-SECTIONS: _Z3bazb:
34 ; LINUX-SECTIONS: .section .text._Z3bazb.[[SECTION_LABEL_1:_Z3bazb.__part.[0-9]+]],"ax",@pro…
35 ; LINUX-SECTIONS: [[SECTION_LABEL_1]]:
36 ; LINUX-SECTIONS: .LBB_END0_1:
[all …]
/llvm-project/clang/test/OpenMP/
H A Dsections_misc_messages.c7 #pragma omp sections in xxx()
15 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp sections'}}
16 #pragma omp sections
18 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp sections'}}
19 #pragma omp sections foo
23 #pragma omp sections in test_no_clause()
28 // expected-error@+2 {{the statement for '#pragma omp sections' must be a compound statement}} in test_no_clause()
29 #pragma omp sections in test_no_clause()
32 #pragma omp sections in test_no_clause()
35 …foo(); // expected-error {{statement in 'omp sections' directive must be enclosed into a section r… in test_no_clause()
[all …]
H A Dparallel_sections_misc_messages.c7 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel sections'}}
8 #pragma omp parallel sections
10 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel sections'}}
11 #pragma omp parallel sections foo
15 #pragma omp parallel sections in test_no_clause()
20 // expected-error@+2 {{the statement for '#pragma omp parallel sections' must be a compound stateme… in test_no_clause()
21 #pragma omp parallel sections in test_no_clause()
24 #pragma omp parallel sections in test_no_clause()
27 …foo(); // expected-error {{statement in 'omp parallel sections' directive must be enclosed into a … in test_no_clause()
39 #pragma omp parallel sections in test_branch_protected_scope()
[all …]
H A Dparallel_sections_if_messages.cpp17 #pragma omp parallel sections if(cond) // expected-warning {{variable 'cond' is uninitialized when … in xxx()
28 #pragma omp parallel sections if // expected-error {{expected '(' after 'if'}} in tmain()
32 …#pragma omp parallel sections if ( // expected-error {{expected expression}} expected-error {{expe… in tmain()
36 #pragma omp parallel sections if () // expected-error {{expected expression}} in tmain()
40 …#pragma omp parallel sections if (argc // expected-error {{expected ')'}} expected-note {{to match… in tmain()
44 …#pragma omp parallel sections if (argc)) // expected-warning {{extra tokens at the end of '#pragma… in tmain()
48 #pragma omp parallel sections if (argc > 0 ? argv[1] : argv[2]) in tmain()
52 …#pragma omp parallel sections if (foobool(argc)), if (true) // expected-error {{directive '#pragma… in tmain()
56 #pragma omp parallel sections if (S) // expected-error {{'S' does not refer to a value}} in tmain()
60 …#pragma omp parallel sections if (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to… in tmain()
[all …]
H A Dparallel_sections_firstprivate_messages.cpp15 #pragma omp parallel sections firstprivate(fp) // expected-warning {{variable 'fp' is uninitialized… in xxx()
81 #pragma omp parallel sections firstprivate // expected-error {{expected '(' after 'firstprivate'}} in foomain()
85 #pragma omp parallel sections firstprivate( // expected-error {{expected expression}} expected-erro… in foomain()
89 #pragma omp parallel sections firstprivate() // expected-error {{expected expression}} in foomain()
93 #pragma omp parallel sections firstprivate(argc // expected-error {{expected ')'}} expected-note {{… in foomain()
97 #pragma omp parallel sections firstprivate(argc, // expected-error {{expected expression}} expected… in foomain()
101 #pragma omp parallel sections firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expect… in foomain()
105 #pragma omp parallel sections firstprivate(argc) allocate , allocate(, allocate(omp_default , alloc… in foomain()
109 #pragma omp parallel sections firstprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain()
113 #pragma omp parallel sections firstprivate(z, a, b) // expected-error {{firstprivate variable with … in foomain()
[all …]
H A Dsections_firstprivate_messages.cpp73 #pragma omp sections firstprivate // expected-error {{expected '(' after 'firstprivate'}} in foomain()
78 #pragma omp sections firstprivate( // expected-error {{expected expression}} expected-error {{expec… in foomain()
83 #pragma omp sections firstprivate() // expected-error {{expected expression}} in foomain()
88 #pragma omp sections firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match … in foomain()
93 #pragma omp sections firstprivate(argc, // expected-error {{expected expression}} expected-error {{… in foomain()
98 #pragma omp sections firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variab… in foomain()
103 #pragma omp sections firstprivate(argc) allocate , allocate(, allocate(omp_default , allocate(omp_d… in foomain()
108 #pragma omp sections firstprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain()
113 #pragma omp sections firstprivate(z, a, b) // expected-error {{firstprivate variable with incomplet… in foomain()
118 #pragma omp sections firstprivate(argv[1]) // expected-error {{expected variable name}} in foomain()
[all …]
H A Dparallel_sections_lastprivate_messages.cpp75 #pragma omp parallel sections lastprivate // expected-error {{expected '(' after 'lastprivate'}} in foomain()
79 #pragma omp parallel sections lastprivate( // expected-error {{expected expression}} expected-error… in foomain()
83 #pragma omp parallel sections lastprivate() // expected-error {{expected expression}} in foomain()
87 #pragma omp parallel sections lastprivate(argc // expected-error {{expected ')'}} expected-note {{t… in foomain()
91 #pragma omp parallel sections lastprivate(argc, // expected-error {{expected expression}} expected-… in foomain()
95 #pragma omp parallel sections lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expecte… in foomain()
99 #pragma omp parallel sections lastprivate(argc) allocate , allocate(, allocate(omp_default , alloca… in foomain()
103 #pragma omp parallel sections lastprivate(conditional: e,argc) lastprivate(conditional: // omp51-er… in foomain()
107 #pragma omp parallel sections lastprivate(foo:argc) // omp51-error {{expected 'conditional' in Open… in foomain()
111 #pragma omp parallel sections lastprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain()
[all …]
H A Dparallel_sections_messages.cpp7 #pragma omp parallel sections in xxx()
16 #pragma omp parallel sections // expected-error {{unexpected OpenMP directive '#pragma omp parallel…
19 #pragma omp parallel sections {// expected-warning {{extra tokens at the end of '#pragma omp parall… in main()
23 #pragma omp parallel sections( // expected-warning {{extra tokens at the end of '#pragma omp parall… in main()
27 #pragma omp parallel sections[ // expected-warning {{extra tokens at the end of '#pragma omp parall… in main()
31 #pragma omp parallel sections] // expected-warning {{extra tokens at the end of '#pragma omp parall… in main()
35 #pragma omp parallel sections) // expected-warning {{extra tokens at the end of '#pragma omp parall… in main()
39 #pragma omp parallel sections } // expected-warning {{extra tokens at the end of '#pragma omp paral… in main()
43 // expected-warning@+1 {{extra tokens at the end of '#pragma omp parallel sections' are ignored}} in main()
44 #pragma omp parallel sections unknown() in main()
[all …]
H A Dsections_lastprivate_messages.cpp77 #pragma omp sections lastprivate // expected-error {{expected '(' after 'lastprivate'}} in foomain()
82 #pragma omp sections lastprivate( // expected-error {{expected expression}} expected-error {{expect… in foomain()
87 #pragma omp sections lastprivate() // expected-error {{expected expression}} in foomain()
92 #pragma omp sections lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match t… in foomain()
97 #pragma omp sections lastprivate(argc, // expected-error {{expected expression}} expected-error {{e… in foomain()
102 #pragma omp sections lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variabl… in foomain()
107 #pragma omp sections lastprivate(argc) in foomain()
112 #pragma omp sections lastprivate(conditional: argc,s) lastprivate(conditional: // omp51-error {{exp… in foomain()
117 #pragma omp sections lastprivate(foo:argc) // omp51-error {{expected 'conditional' in OpenMP clause… in foomain()
122 #pragma omp sections lastprivate(S1) // expected-error {{'S1' does not refer to a value}} in foomain()
[all …]
H A Dparallel_sections_private_messages.cpp36 #pragma omp parallel sections private(a) private(this->a) in S4()
50 #pragma omp parallel sections private(a) private(this->a) private(s.a) // expected-error {{expected… in operator =()
66 #pragma omp parallel sections private(a) private(this->a) in S6()
73 #pragma omp parallel sections private(a) private(this->a) private(s.a) // expected-error {{expected… in operator =()
89 #pragma omp parallel sections private(a) private(this->a) private(T::a) in S7()
96 #pragma omp parallel sections private(a) private(this->a) private(s.a) private(s.T::a) // expected-… in operator =()
114 #pragma omp parallel sections private // expected-error {{expected '(' after 'private'}} in foomain()
118 #pragma omp parallel sections private( // expected-error {{expected expression}} expected-error {{e… in foomain()
122 #pragma omp parallel sections private() // expected-error {{expected expression}} in foomain()
126 #pragma omp parallel sections private(argc // expected-error {{expected ')'}} expected-note {{to ma… in foomain()
[all …]
H A Dsections_private_messages.cpp36 #pragma omp sections private(a) private(this->a) in S4()
50 #pragma omp sections private(a) private(this->a) private(s.a) // expected-error {{expected variable… in operator =()
66 #pragma omp sections private(a) private(this->a) in S6()
73 #pragma omp sections private(a) private(this->a) private(s.a) // expected-error {{expected variable… in operator =()
89 #pragma omp sections private(a) private(this->a) private(T::a) in S7()
96 #pragma omp sections private(a) private(this->a) private(s.a) private(s.T::a) // expected-error 2 {… in operator =()
114 #pragma omp sections private // expected-error {{expected '(' after 'private'}} in foomain()
118 #pragma omp sections private( // expected-error {{expected expression}} expected-error {{expected '… in foomain()
122 #pragma omp sections private() // expected-error {{expected expression}} in foomain()
126 #pragma omp sections private(argc // expected-error {{expected ')'}} expected-note {{to match this … in foomain()
[all …]
H A Dparallel_sections_num_threads_messages.cpp17 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain()
19 …#pragma omp parallel sections num_threads ( // expected-error {{expected expression}} expected-err… in tmain()
21 #pragma omp parallel sections num_threads () // expected-error {{expected expression}} in tmain()
23 …#pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {… in tmain()
25 …#pragma omp parallel sections num_threads (argc)) // expected-warning {{extra tokens at the end of… in tmain()
27 …#pragma omp parallel sections num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{e… in tmain()
29 …arallel sections num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-err… in tmain()
31 #pragma omp parallel sections num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain()
33 …#pragma omp parallel sections num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-… in tmain()
35 #pragma omp parallel sections num_threads (argc + z) in tmain()
[all …]
H A Dparallel_sections_shared_messages.cpp68 #pragma omp parallel sections shared // expected-error {{expected '(' after 'shared'}} in main()
70 #pragma omp parallel sections shared( // expected-error {{expected expression}} expected-error {{ex… in main()
72 #pragma omp parallel sections shared() // expected-error {{expected expression}} in main()
74 #pragma omp parallel sections shared(argc // expected-error {{expected ')'}} expected-note {{to mat… in main()
76 #pragma omp parallel sections shared(argc, // expected-error {{expected expression}} expected-error… in main()
78 #pragma omp parallel sections shared(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected var… in main()
80 #pragma omp parallel sections shared(argc) in main()
82 #pragma omp parallel sections shared(S1) // expected-error {{'S1' does not refer to a value}} in main()
84 #pragma omp parallel sections shared(a, b, c, d, f, k) in main()
86 #pragma omp parallel sections shared(argv[1]) // expected-error {{expected variable name}} in main()
[all …]
/llvm-project/clang/test/Driver/
H A Dfunction-sections.c1 // Test handling of -f(no-)function-sections and -f(no-)data-sections
3 // CHECK-FS: -ffunction-sections
4 // CHECK-NOFS-NOT: -ffunction-sections
5 // CHECK-DS: -fdata-sections
6 // CHECK-NODS-NOT: -fdata-sections
9 // CHECK-PLUGIN-DEFAULT-NOT: "-plugin-opt=-function-sections
10 // CHECK-PLUGIN-DEFAULT-NOT: "-plugin-opt=-data-sections
11 // CHECK-PLUGIN-SECTIONS: "-plugin-opt=-function-sections=1"
12 // CHECK-PLUGIN-SECTIONS: "-plugin-opt=-data-sections=1"
13 // CHECK-PLUGIN-NO-SECTIONS: "-plugin-opt=-function-sections=0"
[all …]
H A Dfbasic-block-sections.c1 // RUN: %clang -### --target=x86_64 -fbasic-block-sections=none %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-NONE %s
2 // RUN: %clang -### --target=x86_64 -fbasic-block-sections=all %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-ALL %s
3 // RUN: %clang -### --target=x86_64 -fbasic-block-sections=list=%s %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-LIST %s
4 // RUN: %clang -### --target=x86_64 -fbasic-block-sections=labels %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-LABELS %s
5 // RUN: %clang -### --target=aarch64 -fbasic-block-sections=none %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-NONE %s
6 // RUN: %clang -### --target=aarch64 -fbasic-block-sections=list=%s %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-LIST %s
7 // RUN: %clang -### --target=aarch64 -fbasic-block-sections=labels %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-LABELS %s
8 // RUN: not %clang -### --target=aarch64 -fbasic-block-sections=all %s -S 2>&1 | FileCheck -check-prefix=CHECK-INVALID-VALUE %s
9 // RUN: not %clang -c --target=arm-unknown-linux -fbasic-block-sections=all %s -S 2>&1 | FileCheck -check-prefix=CHECK-TRIPLE %s
10 // RUN: %clang -### --target=arm-unknown-linux -fbasic-block-sections
[all...]
/llvm-project/flang/test/Semantics/OpenMP/
H A Dsections02.f905 ! 2.8.1 sections construct
6 ! The code enclosed in a sections construct must be a structured block.
18 !$omp sections
38 !$omp end sections
41 !$omp sections
44 !$omp end sections
48 !$omp sections
50 !ERROR: RETURN statement is not allowed in a SECTIONS construct
52 !$omp end sections
64 !$omp sections
[all …]
H A Dparallel-sections01.f905 ! 2.13.3 parallel sections Construct
6 ! The restrictions for the parallel construct and the sections construct apply
21 !$omp parallel sections shared(array(i))
22 !$omp end parallel sections
24 !$omp parallel sections shared(my_var%array)
25 !$omp end parallel sections
34 !$omp parallel sections private(my_var%array)
54 !$omp end parallel sections
57 !$omp parallel sections private(array(i))
60 !$omp end parallel sections
[all …]
/llvm-project/llvm/test/DebugInfo/X86/
H A Dbasic-block-sections_1.ll1 ; RUN: llc -O0 %s -mtriple=x86_64 -filetype=obj -o %t && llvm-dwarfdump -debug-info -v %t | FileCheck --check-prefix=NO-SECTIONS %s
2 ; RUN: llc -O0 %s --basic-block-sections=all --unique-basic-block-section-names -mtriple=x86_64 -filetype=obj -o %t && llvm-dwarfdump -debug-info -v %t | FileCheck --check-prefix=BB-SECTIONS %s
3 ; RUN: llc -O0 %s --basic-block-sections=all --unique-basic-block-section-names -mtriple=x86_64 -filetype=obj -split-dwarf-file=%t.dwo -o %t && llvm-dwarfdump -debug-info -v %t | FileCheck --check-prefix=BB-SECTIONS %s
4 ; RUN: llc -O0 %s --basic-block-sections=all -mtriple=x86_64 -o - | FileCheck --check-prefix=BB-SECTIONS-ASM %s
5 ; RUN: llc -O0 %s -mtriple=x86_64 -filetype=obj -o %t && llvm-dwarfdump -debug-line %t | FileCheck --check-prefix=BB-SECTIONS-LINE-TABLE %s
15 ; NO-SECTIONS: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000 ".text.hot.")
16 ; NO-SECTIONS
[all...]
/llvm-project/llvm/test/tools/yaml2obj/ELF/
H A Dsection-headers-exclude.yaml30 Sections:
36 Sections:
43 ## Check we report an error when a section is in both the "Sections" and "Excluded" lists at the sa…
49 # EXCLUDE-INCLUDED: error: section '.foo' should be present in the 'Sections' or 'Excluded' lists
55 # EXCLUDE-UNKNOWN: error: section '.foo' should be present in the 'Sections' or 'Excluded' lists
69 Sections:
71 Sections:
78 ## Check that we are able to exclude all sections, except the implicit
81 ## Case A: the "Sections" key is present, but empty.
83 # RUN: llvm-readelf --section-headers %t3 | FileCheck %s --check-prefix=NO-SECTIONS
[all …]
H A Dsection-headers.yaml3 ## This is a general test that has sections with unique prefixes, a fill and a
4 ## section without the unique prefix. The section header table describes sections
23 Sections:
38 Sections:
45 ## Show we are able to reorder sections.
70 # ERR1-NEXT: error: section '.section (1)' should be present in the 'Sections' or 'Excluded' lists
71 # ERR1-NEXT: error: section '.section (2)' should be present in the 'Sections' or 'Excluded' lists
76 # ERR2-NEXT: error: section '.section (1)' should be present in the 'Sections' or 'Excluded' lists
77 # ERR2-NEXT: error: section '.section (2)' should be present in the 'Sections' or 'Excluded' lists
78 # ERR2-NEXT: error: section '.section.foo' should be present in the 'Sections' or 'Excluded' lists
[all …]

12345678910>>...159