3 ; RUN: llvm-as %s -o %t/bc.bc
4 ; RUN: llvm-lto -exported-symbol var -O0 %t/bc.bc -o %t/default.o
5 ; RUN: llvm-lto -exported-symbol var -O0 --data-sections=1 %t/bc.bc -o \
6 ; RUN: %t/data-sections.o
7 ; RUN: llvm-lto -exported-symbol var -O0 --data-sections=0 %t/bc.bc -o \
8 ; RUN: %t/no-data-sections.o
9 ; RUN: llvm-objdump -t %t/default.o | FileCheck %s
10 ; RUN: llvm-objdump -t %t/data-sections.o | FileCheck %s
11 ; RUN: llvm-objdump -t %t/no-data-sections.o | FileCheck --check-prefix \
12 ; RUN: CHECK-NO-DATA-SECTIONS %s
14 target triple = "powerpc-ibm-aix7.2.0.0"
18 ; CHECK-NOT: 00000000 g O .data (csect: .data) [[#%x,]] var
20 ; CHECK-NO-DATA-SECTIONS: 00000000 g O .data (csect: .data) [[#%x,]] var