mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 18:27:59 +00:00
[LTO] Add test to show up we don't support ThinLTO yet.
llvm-svn: 292865
This commit is contained in:
parent
c68880e6bf
commit
d8fe0e2df9
13
test/ThinLTO/X86/error-newpm.ll
Normal file
13
test/ThinLTO/X86/error-newpm.ll
Normal file
@ -0,0 +1,13 @@
|
||||
; RUN: opt -module-summary %s -o %t1.bc
|
||||
; RUN: not llvm-lto2 %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
|
||||
}
|
Loading…
Reference in New Issue
Block a user