19 lines · plain
1; RUN: llvm-as %s -o %t.o2; RUN: wasm-ld %t.o -o %t2 --lto-debug-pass-manager \3; RUN: 2>&1 | FileCheck -check-prefix=DEFAULT-NPM %s4; RUN: wasm-ld %t.o -o %t2 --lto-debug-pass-manager \5; RUN: -disable-verify 2>&1 | FileCheck -check-prefix=DISABLE-NPM %s6 7target datalayout = "e-m:e-p:32:32-p10:8:8-p20:8:8-i64:64-n32:64-S128-ni:1:10:20"8target triple = "wasm32-unknown-unknown"9 10define void @_start() {11 ret void12}13 14; -disable-verify should disable the verification of bitcode.15; DEFAULT-NPM: Running pass: VerifierPass16; DEFAULT-NPM: Running pass: VerifierPass17; DEFAULT-NPM-NOT: Running pass: VerifierPass18; DISABLE-NPM-NOT: Running pass: VerifierPass19