[PATCH] D44028: [WebAssembly] Add message for relocation against weak undefined symbol

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 10:05:32 PST 2018


sbc100 added inline comments.


================
Comment at: wasm/InputFiles.cpp:91
+      fatal("Cannot generate relocation against undefined function: " +
+            toString(*Sym));
+    }
----------------
i'm curious,  is llc capable of generating such a `call` or will it always using call_indirect in this case?

if possible I'd rather generate the test inputs from bitcode (or ever better assembly) rather than basically checking in binary code.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44028





More information about the llvm-commits mailing list