The Function pointer might be NULL and the update process will crash, add a nullptr check to avoid it.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
zr33 retitled this revision from add a nullptr check for DW_AT_call_site to ensure Function will not be empty to [BOLT][DWARF] Add a nullptr check for DW_AT_call_site to ensure Function will not be empty.Jul 25 2022, 5:26 PM