[clang] [lld] [llvm] [Windows] Add support for emitting PGO/LTO magic strings in the Windows PE debug directory (PR #114260)
Mikołaj Piróg via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 21 08:04:26 PST 2024
================
@@ -1165,6 +1188,23 @@ void Writer::createMiscChunks() {
llvm::TimeTraceScope timeScope("Misc chunks");
Configuration *config = &ctx.config;
+ auto searchForPgoMagicSection = [this](char sectionName[]) {
----------------
mikolaj-pirog wrote:
I measured this by linking clang with lld with this change vs without this change, see my comment in the discussion
https://github.com/llvm/llvm-project/pull/114260
More information about the cfe-commits
mailing list