llvm-project/lld/test/wasm/trace.test

9 lines
276 B
Plaintext

RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/start.s -o %t.foo.o
# Check -t
RUN: wasm-ld %t.foo.o -o %t.t.out.wasm -t 2>&1 | FileCheck %s
CHECK: {{.*}}.foo.o
# Check --trace alias
RUN: wasm-ld %t.foo.o -o %t.trace.out.wasm --trace 2>&1 | FileCheck %s