[PATCH] D71632: [lld][WebAssembly] Fail if bitcode objects are pulled in after LTO

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 18:27:03 PST 2019


ruiu added inline comments.


================
Comment at: lld/wasm/InputFiles.cpp:544-546
+    error(toString(mb.getBufferIdentifier()) +
+          ": attempt to add bitcode file after LTO.");
+    error("This is most often caused by builtin functions into LTO objects.");
----------------
For a single error call `error` only once.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71632





More information about the llvm-commits mailing list