This is an archive of the discontinued LLVM Phabricator instance.

[SymbolFile] Remove the SymbolContext parameter from FindNamespace
Needs ReviewPublic

Authored by zturner on Jan 11 2019, 11:58 AM.

Details

Summary

Every callsite was passing an empty SymbolContext, so this parameter had no effect. Inside the DWARF implementation of this function, however, there was one codepath that checked members of the SymbolContext. Since no call-sites actually ever used this functionality, it was essentially dead code, so I've deleted this code path as well.

Diff Detail

Event Timeline

zturner created this revision.Jan 11 2019, 11:58 AM
labath accepted this revision.Jan 14 2019, 4:37 AM
This revision is now accepted and ready to land.Jan 14 2019, 4:37 AM
labath resigned from this revision.Aug 9 2019, 2:00 AM
This revision now requires review to proceed.Aug 9 2019, 2:00 AM