[NFC][RISCV] Remove CFIIndex argument from allocateStack (#117871)
[llvm-project.git] / clang / test / Driver / mips-indirect-branch.c
blob94b79712147ec71ff3b13a25878d5bf31c853b9e
1 // -mindirect-jump=hazard -mips32
2 // RUN: not %clang --target=mips-unknown-linux-gnu -mips32 -### -c %s \
3 // RUN: -mindirect-jump=hazard 2>&1 | FileCheck %s --check-prefix=MIPS32
4 // MIPS32: error: '-mindirect-jump=hazard' is unsupported with the 'mips32' architecture
6 // -mindirect-jump=hazard -mmicromips
7 // RUN: not %clang --target=mips-unknown-linux-gnu -mmicromips -### -c %s \
8 // RUN: -mindirect-jump=hazard 2>&1 | FileCheck %s --check-prefix=MICROMIPS
9 // MICROMIPS: error: '-mindirect-jump=hazard' is unsupported with the 'micromips' architecture
11 // -mindirect-jump=hazard -mips16
12 // RUN: not %clang --target=mips-unknown-linux-gnu -mips16 -### -c %s \
13 // RUN: -mindirect-jump=hazard 2>&1 | FileCheck %s --check-prefix=MIPS16
14 // MIPS16: error: '-mindirect-jump=hazard' is unsupported with the 'mips16' architecture
16 // RUN: not %clang --target=mips-unknown-linux-gnu -### -c %s \
17 // RUN: -mindirect-jump=retopline 2>&1 | FileCheck %s --check-prefix=RETOPLINE
18 // RETOPLINE: error: unknown '-mindirect-jump=' option 'retopline'
20 // RUN: not %clang --target=mips-unknown-linux-gnu -### -mips32 -c %s \
21 // RUN: -mindirect-jump=retopline 2>&1 | FileCheck %s --check-prefix=MIXED
22 // MIXED: error: unknown '-mindirect-jump=' option 'retopline'