22 lines · plain
1; REQUIRES: x862; RUN: llvm-as %s -o %t.o3; RUN: env LLD_IN_TEST=1 ld.lld %t.o -o %t2 --lto-debug-pass-manager \4; RUN: 2>&1 | FileCheck -check-prefix=DEFAULT-NPM %s5; RUN: env LLD_IN_TEST=1 ld.lld %t.o -o %t2 --lto-debug-pass-manager \6; RUN: -disable-verify 2>&1 | FileCheck -check-prefix=DISABLE-NPM %s7; RUN: env LLD_IN_TEST=1 ld.lld %t.o -o %t2 --lto-debug-pass-manager \8; RUN: --plugin-opt=disable-verify 2>&1 | FileCheck -check-prefix=DISABLE-NPM %s9 10target triple = "x86_64-unknown-linux-gnu"11target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"12 13define void @_start() {14 ret void15}16 17; -disable-verify should disable the verification of bitcode.18; DEFAULT-NPM: Running pass: VerifierPass19; DEFAULT-NPM: Running pass: VerifierPass20; DEFAULT-NPM-NOT: Running pass: VerifierPass21; DISABLE-NPM-NOT: Running pass: VerifierPass22