mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
c432c72577
Summary: As we teach Clang to use ThinkLTO + new PM, it's good for the users to inject through Config, instead of setting a flag in the LTOBackend library. Move the flag to llvm-lto2. As it moves to llvm-lto2, a new name -use-new-pm seems simpler and as clear. Reviewers: davide, tejohnson Subscribers: mehdi_amini, Prazek, inglorion, eraman, chandlerc, llvm-commits Differential Revision: https://reviews.llvm.org/D33799 llvm-svn: 304492
12 lines
290 B
LLVM
12 lines
290 B
LLVM
; RUN: opt -module-summary %s -o %t1.bc
|
|
; RUN: llvm-lto2 run %t1.bc -o %t.o \
|
|
; RUN: -r=%t1.bc,_tinkywinky,pxl \
|
|
; RUN: -use-new-pm
|
|
|
|
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
|
|
}
|