[PATCH] D89921: [LLD] [COFF] Align all debug directories

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 10:56:05 PDT 2020


rnk added inline comments.


================
Comment at: lld/COFF/Writer.cpp:951
   if (config->debug || config->repro || config->cetCompat) {
     debugDirectory = make<DebugDirectoryChunk>(debugRecords, config->repro);
     debugInfoSec->addChunk(debugDirectory);
----------------
Can we make the DebugDirectoryChunk set the default alignment to 4 instead? I believe other chunks do that as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89921



More information about the llvm-commits mailing list