20 lines · plain
1; Test plugin options new-pass-manager and debug-pass-manager2; RUN: opt -module-summary %s -o %t.o3 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 %s10 11; CHECK: Running pass: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 void19}20