llvm-capstone/clang/test/Driver/aix-unsupported-features.c
Wael Yehia 369c0e0f48 [AIX] Diagnose thinLTO usage in clang on AIX.
Reviewed By: Xiangling Liao

Differential Revision: https://reviews.llvm.org/D100350
2021-04-19 16:39:48 +00:00

8 lines
329 B
C

// RUN: %clang -target powerpc-ibm-aix-xcoff -### -flto=thin 2>&1 %s | \
// RUN: FileCheck --check-prefix=CHECKTHINLTO %s
// RUN: %clang -target powerpc64-ibm-aix-xcoff -### -flto=thin 2>&1 %s | \
// RUN: FileCheck --check-prefix=CHECKTHINLTO %s
// CHECKTHINLTO: error: the clang compiler does not support 'thinLTO on AIX'