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