This is an archive of the discontinued LLVM Phabricator instance.

[lldb][test] Disable TestSBValueUnsignedEnumBitField.py for old DWARF versions
ClosedPublic

Authored by Michael137 on Sep 27 2022, 6:03 AM.

Details

Summary

With older DWARF versions we don't encode the enum's underlying
type in DWARF. In those cases LLDB sign-extends the bitfield as
a signed integer. Without the actual enum type being present in
DWARF there's not much we can do.

Diff Detail

Event Timeline

Michael137 created this revision.Sep 27 2022, 6:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 6:03 AM
Michael137 requested review of this revision.Sep 27 2022, 6:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 6:03 AM
fdeazeve accepted this revision.Sep 27 2022, 6:04 AM

LGTM!

This revision is now accepted and ready to land.Sep 27 2022, 6:04 AM
  • Works on DWARFv3
This revision was landed with ongoing or failed builds.Sep 27 2022, 6:09 AM
This revision was automatically updated to reflect the committed changes.