[PATCH] D77231: [lld] Support -emit-asm with LTO

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 12:28:38 PDT 2020


hoyFB marked an inline comment as done.
hoyFB added inline comments.


================
Comment at: lld/ELF/LTO.cpp:312
+    for (unsigned i = 1; i != maxTasks; ++i)
+      saveBuffer(buf[i], config->outputFile + Twine(i));
+    return {};
----------------
MaskRay wrote:
> To be honest, the output file naming (--save-temps and the new emit-asm) here also looks strange to me. Why is 1 special cased? @pcc @tejohnson 
My understanding is that output 0 has no suffix on the output file name, and suffix starts from output 1. Is that your question?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77231





More information about the llvm-commits mailing list