[lld] [LLD][COFF] Add -build-id flag to generate .buildid section. (PR #71433)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 03:10:27 PST 2023
================
@@ -1050,7 +1044,13 @@ void Writer::createMiscChunks() {
// Create Debug Information Chunks
std::vector<std::pair<COFF::DebugType, Chunk *>> debugRecords;
- OutputSection *debugInfoSec = config->shouldCreatePDB ? rdataSec : buildidSec;
+ // The default debug info section is .rdata. It set to .buildid section only
----------------
mstorsjo wrote:
Nit: Typo in the comment, "It set" is missing a word
https://github.com/llvm/llvm-project/pull/71433
More information about the llvm-commits
mailing list