This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Fix CTF parsing of large structs
ClosedPublic

Authored by JDevlieghere on Jul 27 2023, 2:08 PM.

Details

Summary

Fix CTF parsing of large structs. If the size of a struct exceeds a certain threshold, the offset is encoded using two 32-bit integers instead of one.

Diff Detail

Event Timeline

JDevlieghere created this revision.Jul 27 2023, 2:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2023, 2:08 PM
bulbazord accepted this revision.Jul 27 2023, 2:20 PM

LGTM modulo spelling nit

lldb/source/Plugins/SymbolFile/CTF/SymbolFileCTF.h
257
lldb/test/API/macosx/ctf/test.c
54

barbie? 🤔

This revision is now accepted and ready to land.Jul 27 2023, 2:20 PM
This revision was landed with ongoing or failed builds.Jul 29 2023, 7:37 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJul 29 2023, 7:37 PM