This is an archive of the discontinued LLVM Phabricator instance.

Symbolize: Remove dead code. NFCI.
ClosedPublic

Authored by pcc on Jun 13 2019, 2:30 PM.

Details

Summary

The only caller of SymbolizableObjectFile::create passes a non-null
DebugInfoContext and asserts that they do so. Move the assert into
SymbolizableObjectFile::create and remove null checks.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Jun 13 2019, 2:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 13 2019, 2:30 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
echristo accepted this revision.Jun 13 2019, 3:39 PM
This revision is now accepted and ready to land.Jun 13 2019, 3:39 PM
This revision was automatically updated to reflect the committed changes.