forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gold] Add debug-pass-manager option, and use it to test new-pass-man…
…ager Summary: Follow up from r314963. Reviewers: pcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D45293 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329249 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
1 parent
7d9ae75
commit 65834ee
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
; Test plugin options new-pass-manager and debug-pass-manager | ||
; RUN: opt -module-summary %s -o %t.o | ||
|
||
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \ | ||
; RUN: --plugin-opt=thinlto \ | ||
; RUN: --plugin-opt=new-pass-manager \ | ||
; RUN: --plugin-opt=debug-pass-manager \ | ||
; RUN: --plugin-opt=cache-dir=%t.cache \ | ||
; RUN: -o %t2.o %t.o 2>&1 | FileCheck %s | ||
|
||
; CHECK: Starting llvm::Module pass manager run | ||
|
||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" | ||
target triple = "x86_64-unknown-linux-gnu" | ||
|
||
define void @globalfunc() #0 { | ||
entry: | ||
ret void | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters