[PATCH] D82884: [lld][WebAssembly] Give better error message on bad archive member

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 11:56:36 PDT 2020


dschuff added inline comments.


================
Comment at: lld/test/wasm/lto/incompatible.ll:12
 ; CHECK: {{.*}}incompatible.ll.tmp.bc: machine type must be wasm32
+; CHECK-ARCHIVE: wasm-ld: error: {{.*}}.a(incompatible.ll.tmp.bc): machine type must be wasm32
----------------
so this has to be a wildcard `{{.*}}.a` and can't be something like `%t.a`? I guess because there's no way to get the basename?

Also: should there be a space between the `.a` and the `(`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82884/new/

https://reviews.llvm.org/D82884





More information about the llvm-commits mailing list