This is an archive of the discontinued LLVM Phabricator instance.

[cleanup] Clean up the flow of creating a symbol body for regular symbols.
ClosedPublic

Authored by chandlerc on Jun 26 2015, 9:23 PM.

Details

Summary

This uses a single cast and test to get the section for the symbol, and
uses the cast_or_null<> pattern throughout to handle the known type but
unknown non-null-ness.

No functionality changed.

Diff Detail

Repository
rL LLVM

Event Timeline

chandlerc updated this revision to Diff 28625.Jun 26 2015, 9:23 PM
chandlerc retitled this revision from to [cleanup] Clean up the flow of creating a symbol body for regular symbols..
chandlerc updated this object.
chandlerc edited the test plan for this revision. (Show Details)
chandlerc added a reviewer: ruiu.
chandlerc added a subscriber: Unknown Object (MLST).
ruiu accepted this revision.Jun 29 2015, 2:16 PM
ruiu edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 29 2015, 2:16 PM
This revision was automatically updated to reflect the committed changes.