26 lines · plain
1; RUN: llvm-as %s -o %t.o2; REQUIRES: asserts3 4; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \5; RUN: --plugin-opt=disable-verify --plugin-opt=debug-pass-manager \6; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s7 8; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \9; RUN: --plugin-opt=debug-pass-manager \10; RUN: -shared %t.o -o %t2.o 2>&1 | FileCheck %s -check-prefix=VERIFY11 12target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"13target triple = "x86_64-unknown-linux-gnu"14 15; -disable-verify should disable output verification from the optimization16; pipeline.17; CHECK-NOT: VerifierPass18 19; VERIFY: Running pass: VerifierPass on [module]20; VERIFY: Running pass: VerifierPass on [module]21 22define void @f() {23entry:24 ret void25}26