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

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 11:47:45 PDT 2018


pcc added inline comments.


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


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49352





More information about the llvm-commits mailing list