[PATCH] D49352: [LLD] [COFF] Write the debug directory and build id to a separate section for MinGW

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 12:00:27 PDT 2018


mstorsjo added inline comments.


================
Comment at: COFF/Writer.cpp:425
+  if (Config->MinGW)
+    BuildidSec = CreateSection(".buildid", DATA | R);
+  else
----------------
pcc wrote:
> You could create the section unconditionally; we'll end up discarding empty sections later.
Thanks, will change that before committing.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49352





More information about the llvm-commits mailing list