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

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 15:39:10 PST 2019


dschuff added inline comments.


================
Comment at: lld/wasm/InputFiles.cpp:546
+          ": attempt to add bitcode file after LTO.");
+    error("This is most often caused by builtin functions into LTO objects.");
+    return;
----------------
This string is confusing. I think it's not really necessary; emscripten only had this problem because compiler-rt was incorrectly compiled as bitcode.


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