[PATCH] D59373: Make a hack for LTO work only when you are actually doing LTO.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 11:02:20 PDT 2019


efriedma added inline comments.


================
Comment at: lld/ELF/Driver.cpp:220
+        if (identify_magic(P.first.getBuffer()) != file_magic::bitcode)
+          return;
+
----------------
"return"?  It seems weird to intentionally ignore archive files without a symbol table.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59373





More information about the llvm-commits mailing list