• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test plugin options new-pass-manager and debug-pass-manager
2; RUN: opt -module-summary %s -o %t.o
3
4; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
5; RUN:     --plugin-opt=thinlto \
6; RUN:     --plugin-opt=new-pass-manager \
7; RUN:     --plugin-opt=debug-pass-manager \
8; RUN:     --plugin-opt=cache-dir=%t.cache \
9; RUN:     -o %t2.o %t.o 2>&1 | FileCheck %s
10
11; CHECK: Starting llvm::Module pass manager run
12
13target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
14target triple = "x86_64-unknown-linux-gnu"
15
16define void @globalfunc() #0 {
17entry:
18  ret void
19}
20