[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / Driver / ppc-prefixed.cpp
blob3d6a13f83d0b275dac6cc1a3dab88da5ee97151b
1 // RUN: %clang -target powerpc64-unknown-linux-gnu %s -### -mcpu=pwr10 -mprefixed -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-PREFIXED %s
2 // RUN: %clang -target powerpc64-unknown-linux-gnu %s -### -mcpu=pwr10 -mno-prefixed -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOPREFIXED %s
3 // CHECK-NOPREFIXED: "-target-feature" "-prefixed"
4 // CHECK-PREFIXED: "-target-feature" "+prefixed"
6 // RUN: %clang -target powerpc64-unknown-linux-gnu -mcpu=pwr10 -emit-llvm -S %s -o - | grep "attributes.*+prefix-instrs"
7 // RUN: %clang -target powerpc64-unknown-linux-gnu -mcpu=pwr10 -mprefixed -emit-llvm -S %s -o - | grep "attributes.*+prefix-instrs"
8 // RUN: %clang -target powerpc64-unknown-linux-gnu -mcpu=pwr10 -mno-prefixed -emit-llvm -S %s -o - | grep "attributes.*\-prefix-instrs"
10 int main(int argc, char *argv[]) {
11 return 0;