[PATCH] D120689: [lld][WebAssembly] Improve error reporting for bad ar archive members

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 08:38:23 PST 2022


sbc100 added inline comments.


================
Comment at: lld/test/wasm/bad-archive-member.s:1
+# REQUIRES: x86
+
----------------
dschuff wrote:
> Why does this need x86? It's a little odd that we are building an x86 object and then linking with wasm-ld?
Because that is the precise error condition we want to check for here.   We need to create a llvm-ar archive with a valid index, but whose objects are no valid under wasm.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120689



More information about the llvm-commits mailing list