diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 |
commit | 71d5a2540a98c81f5bcaeb48805e0e2881f530ef (patch) | |
tree | 5343938942df402b49ec7300a1c25a2d4ccd5821 /test/ThinLTO/X86/error-newpm.ll | |
parent | 31bbf64f3a4974a2d6c8b3b27ad2f519caf74057 (diff) |
Notes
Diffstat (limited to 'test/ThinLTO/X86/error-newpm.ll')
-rw-r--r-- | test/ThinLTO/X86/error-newpm.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/ThinLTO/X86/error-newpm.ll b/test/ThinLTO/X86/error-newpm.ll new file mode 100644 index 0000000000000..9c2fd2c70d6dd --- /dev/null +++ b/test/ThinLTO/X86/error-newpm.ll @@ -0,0 +1,13 @@ +; RUN: opt -module-summary %s -o %t1.bc +; RUN: not llvm-lto2 run %t1.bc -o %t.o \ +; RUN: -r=%t1.bc,_tinkywinky,pxl \ +; RUN: -lto-use-new-pm 2>&1 | FileCheck %s + +; CHECK: ThinLTO not supported with the new PM yet! + +target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" +target triple = "x86_64-apple-macosx10.11.0" + +define void @tinkywinky() { + ret void +} |