Debian Codegraph @

clang/test/Driver/aix-gsplit-dwarf.c

raw
1 // Verify error message is emitted for `-gsplit-dwarf` on AIX
2 // as it's unsupported at the moment.
3
4 // RUN: not %clang -target powerpc-ibm-aix -gdwarf-4 -gsplit-dwarf %s 2>&1 \
5 // RUN: | FileCheck %s --check-prefix=UNSUP_OPT_AIX
6 // RUN: not %clang -target powerpc64-ibm-aix -gdwarf-4 -gsplit-dwarf %s 2>&1 \
7 // RUN: | FileCheck %s --check-prefix=UNSUP_OPT_AIX64
8
9 // UNSUP_OPT_AIX: error: unsupported option '-gsplit-dwarf' for target 'powerpc-ibm-aix'
10 // UNSUP_OPT_AIX64: error: unsupported option '-gsplit-dwarf' for target 'powerpc64-ibm-aix'
11
12 int main(){return 0;}