This is an archive of the discontinued LLVM Phabricator instance.

[DWARF][MC] improve the error message when DwarfLineStrSection is null.
ClosedPublic

Authored by Esme on Apr 24 2023, 10:14 PM.

Details

Summary

Currently the crush info is ambiguous when DwarfLineStrSection is null.
The patch adds an assertion in the constructor of MCDwarfLineStr when DwarfLineStrSection is null.

Diff Detail

Event Timeline

Esme created this revision.Apr 24 2023, 10:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 24 2023, 10:14 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
Esme requested review of this revision.Apr 24 2023, 10:14 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 24 2023, 10:14 PM
shchenz accepted this revision as: shchenz.Apr 25 2023, 5:40 PM
This revision is now accepted and ready to land.Apr 25 2023, 5:40 PM
This revision was landed with ongoing or failed builds.May 7 2023, 9:56 PM
This revision was automatically updated to reflect the committed changes.