This is an archive of the discontinued LLVM Phabricator instance.

Remove SymbolVendor::GetSymtab
ClosedPublic

Authored by labath on Aug 1 2019, 3:53 AM.

Details

Summary

This patch removes the GetSymtab method from the SymbolVendor, which is
a no-op as it's implementation just forwards to the relevant SymbolFile.
Instead it creates a Module::GetSymtab, which calls the SymbolFile
method directly.

All callers have been updated to use the Module method directly instead
of a two phase GetSymbolVendor->GetSymtab search, which leads to reduced
intentation in a lot of deeply nested code.

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Aug 1 2019, 3:53 AM
clayborg accepted this revision.Aug 1 2019, 11:02 AM
This revision is now accepted and ready to land.Aug 1 2019, 11:02 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2019, 2:23 AM