summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2019-10-18 11:58:21 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2019-10-18 11:58:21 +0000
commit5cee329c981f3e365e69fef3b05e43144df8a6e2 (patch)
tree841ba5a15f5b044f1a0019f391e1a45768ead95e /test
parent28b915f1c58b6d9f347e22e042dfb17f4474db41 (diff)
downloadclang-5cee329c981f3e365e69fef3b05e43144df8a6e2.tar.gz
[ThinLTOCodeGenerator] Add support for index-based WPD
This is clang part of the patch. It adds -flto-unit flag for thin LTO builds on Mac and PS4 Differential revision: https://reviews.llvm.org/D68950 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Driver/lto-unit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Driver/lto-unit.c b/test/Driver/lto-unit.c
index 1f1a286167..0fdd493888 100644
--- a/test/Driver/lto-unit.c
+++ b/test/Driver/lto-unit.c
@@ -1,9 +1,8 @@
// RUN: %clang -target x86_64-unknown-linux -### %s -flto=full 2>&1 | FileCheck --check-prefix=UNIT %s
// RUN: %clang -target x86_64-unknown-linux -### %s -flto=thin 2>&1 | FileCheck --check-prefix=UNIT %s
// RUN: %clang -target x86_64-apple-darwin13.3.0 -### %s -flto=full 2>&1 | FileCheck --check-prefix=UNIT %s
-// RUN: %clang -target x86_64-apple-darwin13.3.0 -### %s -flto=thin 2>&1 | FileCheck --check-prefix=NOUNIT %s
+// RUN: %clang -target x86_64-apple-darwin13.3.0 -### %s -flto=thin 2>&1 | FileCheck --check-prefix=UNIT %s
// RUN: %clang -target x86_64-scei-ps4 -### %s -flto=full 2>&1 | FileCheck --check-prefix=UNIT %s
-// RUN: %clang -target x86_64-scei-ps4 -### %s -flto=thin 2>&1 | FileCheck --check-prefix=NOUNIT %s
+// RUN: %clang -target x86_64-scei-ps4 -### %s -flto=thin 2>&1 | FileCheck --check-prefix=UNIT %s
// UNIT: "-flto-unit"
-// NOUNIT-NOT: "-flto-unit"