mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Reviewers: tejohnson Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D19405 From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267329 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
430 B
LLVM
12 lines
430 B
LLVM
; Check the linkage types in both the per-module and combined summaries.
|
|
; RUN: opt -module-summary %s -o %t.o
|
|
; RUN: llvm-bcanalyzer -dump %t.o | FileCheck %s
|
|
; RUN: llvm-lto -thinlto -o %t2 %t.o
|
|
; RUN: llvm-bcanalyzer -dump %t2.thinlto.bc | FileCheck %s --check-prefix=COMBINED
|
|
|
|
; CHECK: <PERMODULE {{.*}} op1=16
|
|
; COMBINED-DAG: <COMBINED {{.*}} op1=16
|
|
define void @functionWithSection() section "some_section" {
|
|
ret void
|
|
}
|