[clang] [hwasan] Don't instrument when PGO profile is collected (PR #86739)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 26 15:13:12 PDT 2024


vitalybuka wrote:

We already have similar stuff:
```
if (PGOOpt && Phase != ThinOrFullLTOPhase::ThinLTOPostLink &&
      !PGOOpt->MemoryProfile.empty())
    MPM.addPass(MemProfUsePass(PGOOpt->MemoryProfile, PGOOpt->FS));
```

https://github.com/llvm/llvm-project/pull/86739


More information about the cfe-commits mailing list