This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Assert index is valid in DWARFDeclContext
ClosedPublic

Authored by JDevlieghere on Jun 27 2023, 2:24 PM.

Details

Summary

Address my own comment from D153867.

Diff Detail

Event Timeline

JDevlieghere created this revision.Jun 27 2023, 2:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 2:24 PM
Herald added a subscriber: arphaman. · View Herald Transcript
fdeazeve accepted this revision.Jun 27 2023, 3:30 PM

Thanks for doing this!

This revision is now accepted and ready to land.Jun 27 2023, 3:30 PM
fdeazeve added inline comments.Jun 27 2023, 3:31 PM
lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
58

Note the difference in how you used () between the two asserts

JDevlieghere marked an inline comment as done.Jun 27 2023, 4:58 PM
JDevlieghere added inline comments.
lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
58

Yup, typo below. I put up the patch before my build finished :-)

This revision was automatically updated to reflect the committed changes.
JDevlieghere marked an inline comment as done.
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 6:24 PM