Lines Matching full:sections
1 // 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"
14 // CHECK-PLUGIN-NO-SECTIONS: "-plugin-opt=-data-sections=0"
22 // RUN: -ffunction-sections \
27 // RUN: -fno-function-sections \
32 // RUN: -ffunction-sections -fno-function-sections \
37 // RUN: -fno-function-sections -ffunction-sections \
42 // RUN: -ffunction-sections -fno-function-sections -ffunction-sections \
48 // RUN: -fdata-sections \
53 // RUN: -fno-data-sections \
58 // RUN: -fdata-sections -fno-data-sections \
63 // RUN: -fno-data-sections -fdata-sections \
68 // RUN: -fdata-sections -fno-data-sections -fdata-sections \
89 // RUN: -ffunction-sections -fdata-sections \
90 // RUN: | FileCheck --check-prefix=CHECK-PLUGIN-SECTIONS %s
94 // RUN: -fno-function-sections -fno-data-sections \
95 // RUN: | FileCheck --check-prefix=CHECK-PLUGIN-NO-SECTIONS %s