1 // REQUIRES: arm-registered-target
2 // RUN: %clang -target armv7-linux-gnueabihf -moutline -c %s -### 2>&1 | FileCheck %s -check-prefix=ON
3 // ON: "-mllvm" "-enable-machine-outliner"
4 // RUN: %clang -target armv7-linux-gnueabihf -flto -moutline %s -### 2>&1 | FileCheck %s -check-prefix=ON-LTO
5 // ON-LTO: "-plugin-opt=-enable-machine-outliner"
6 // RUN: %clang -target armv7-linux-gnueabihf -moutline -mno-outline -c %s -### 2>&1 | FileCheck %s -check-prefix=OFF
7 // OFF: "-mllvm" "-enable-machine-outliner=never"
8 // RUN: %clang -target armv7-linux-gnueabihf -flto -moutline -mno-outline %s -### 2>&1 | FileCheck %s -check-prefix=OFF-LTO
9 // OFF-LTO: "-plugin-opt=-enable-machine-outliner=never"