[PATCH] D81269: Fix null pointer dereference in `ProfileSummaryInfo::getPSI()`

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 11:13:00 PDT 2020


vsk added reviewers: mtrofin, eraman, davidxl, rcorcs.
vsk added a comment.

When is a null PSI accessed? It's not clear to me how this happens (based on `ProfileSummaryInfoWrapperPass::doInitialization`).

Could you share a reduced regression test that reproduces the crash without this patch applied?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81269





More information about the llvm-commits mailing list