[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / fsplit-machine-functions.c
blobfc0bb31f0f2bc7f0ad7b30c798271a3d1a5dcbe6
1 // RUN: %clang -### -target x86_64 -fprofile-use=default.profdata -fsplit-machine-functions %s -c 2>&1 | FileCheck -check-prefix=CHECK-OPT %s
2 // RUN: %clang -### -target x86_64 -fsplit-machine-functions %s -c 2>&1 | FileCheck -check-prefix=CHECK-OPT %s
3 // RUN: %clang -### -target x86_64 -fprofile-use=default.profdata -fsplit-machine-functions -fno-split-machine-functions %s -c 2>&1 | FileCheck -check-prefix=CHECK-NOOPT %s
4 // RUN: not %clang -c -target arm-unknown-linux -fsplit-machine-functions %s 2>&1 | FileCheck -check-prefix=CHECK-TRIPLE %s
6 // CHECK-OPT: "-fsplit-machine-functions"
7 // CHECK-NOOPT-NOT: "-fsplit-machine-functions"
8 // CHECK-TRIPLE: error: unsupported option '-fsplit-machine-functions' for target