brintos

brintos / llvm-project-archived public Read only

0
0
Text · 739 B · acb00fc Raw
14 lines · c
1// AIX does not support -gdwarf-5 which is required by -gembed-source2// UNSUPPORTED: target={{.*}}-aix{{.*}}3 4// RUN: %clang -### -gdwarf-5 -gembed-source %s 2>&1 | FileCheck -check-prefix=GEMBED_5 %s5// RUN: not %clang -### -gdwarf-2 -gembed-source %s 2>&1 | FileCheck -check-prefix=GEMBED_2 %s6// RUN: %clang -### -gdwarf-5 -gno-embed-source %s 2>&1 | FileCheck -check-prefix=NOGEMBED_5 %s7// RUN: %clang -### -gdwarf-2 -gno-embed-source %s 2>&1 | FileCheck -check-prefix=NOGEMBED_2 %s8//9// GEMBED_5:  "-gembed-source"10// GEMBED_2:  error: invalid argument '-gembed-source' only allowed with '-gdwarf-5'11// NOGEMBED_5-NOT:  "-gembed-source"12// NOGEMBED_2-NOT:  error: invalid argument '-gembed-source' only allowed with '-gdwarf-5'13//14