This is an archive of the discontinued LLVM Phabricator instance.

[MachOYAML] Improve section offset misalignment error message
ClosedPublic

Authored by Michael137 on Dec 15 2022, 10:04 AM.

Details

Summary

Before:

wrote too much data somewhere, section offsets don't line up

After:

wrote too much data somewhere, section offsets in section __debug_str for segment __DWARF don't line up: [cursor=0x581], [fileStart=0x0], [sectionOffset=0x579]

Diff Detail

Event Timeline

Michael137 created this revision.Dec 15 2022, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 10:04 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Michael137 requested review of this revision.Dec 15 2022, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2022, 10:05 AM
aprantl accepted this revision.Dec 15 2022, 11:07 AM
This revision is now accepted and ready to land.Dec 15 2022, 11:07 AM