[clang] [lld] [llvm] [Windows] Add support for emitting PGO/LTO magic strings in the Windows PE debug directory (PR #114260)
Tobias Hieta via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 30 12:23:14 PDT 2024
================
@@ -1165,6 +1188,23 @@ void Writer::createMiscChunks() {
llvm::TimeTraceScope timeScope("Misc chunks");
Configuration *config = &ctx.config;
+ auto searchForPgoMagicSection = [this](char sectionName[]) {
----------------
tru wrote:
How expensive is this recursive search in a large binary? It feels like we could do this better.
https://github.com/llvm/llvm-project/pull/114260
More information about the cfe-commits
mailing list