1 ; RUN: llvm-as %s -o %t.o
2 ; RUN: wasm-ld %t.o -o %t2 --no-lto-legacy-pass-manager --lto-debug-pass-manager \
3 ; RUN: 2>&1 | FileCheck -check-prefix=DEFAULT-NPM %s
4 ; RUN: wasm-ld %t.o -o %t2 --no-lto-legacy-pass-manager --lto-debug-pass-manager \
5 ; RUN: -disable-verify 2>&1 | FileCheck -check-prefix=DISABLE-NPM %s
7 target datalayout = "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-n32:64-S128"
8 target triple = "wasm32-unknown-unknown"
10 define void @_start() {
14 ; -disable-verify should disable the verification of bitcode.
15 ; DEFAULT-NPM: Running pass: VerifierPass
16 ; DEFAULT-NPM: Running pass: VerifierPass
17 ; DEFAULT-NPM-NOT: Running pass: VerifierPass
18 ; DISABLE-NPM-NOT: Running pass: VerifierPass