This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFC] Factor out code linking OSO addr of uninitialized GVs
ClosedPublic

Authored by fdeazeve on Jul 12 2023, 9:55 AM.

Details

Summary

This code was introduced in 2fc93eabf7e132abd51d0ea0ad599beb3fa44334.
In order to improve readability of ParseVariableDIE, we move this code into a
helper function. The issue this code attempted to address was fixed between
Clangs 9 and 11; as such, if we ever want to delete this code, it is a lot
easier to do so after the refactor.

Diff Detail

Event Timeline

fdeazeve created this revision.Jul 12 2023, 9:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 9:55 AM
fdeazeve requested review of this revision.Jul 12 2023, 9:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 12 2023, 9:55 AM
fdeazeve added reviewers: bulbazord, Restricted Project.Jul 12 2023, 9:58 AM
This revision is now accepted and ready to land.Jul 12 2023, 10:23 AM

LGTM. Good description of the problem being addressed.