This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][DWARF][NFC] Fix false positive error
ClosedPublic

Authored by ayermolo on Jul 11 2023, 4:51 PM.

Details

Summary

The DWO Unit DIE, doesn't have low_pc/high_pc, so we were printing this error
for valid cases.

Diff Detail

Event Timeline

ayermolo created this revision.Jul 11 2023, 4:51 PM
Herald added a reviewer: Amir. · View Herald Transcript
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
ayermolo requested review of this revision.Jul 11 2023, 4:51 PM
Herald added a project: Restricted Project. · View Herald Transcript
maksfb accepted this revision.Jul 12 2023, 11:20 PM
maksfb added inline comments.
bolt/lib/Rewrite/DWARFRewriter.cpp
1231

While you are at it, should we make it "BOLT-WARNING" instead?

This revision is now accepted and ready to land.Jul 12 2023, 11:20 PM
ayermolo updated this revision to Diff 540008.Jul 13 2023, 7:05 AM

addressed comment

This revision was automatically updated to reflect the committed changes.