This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Swap argument names: use Old to refer to original symbol and New for incoming one
ClosedPublic

Authored by MaskRay on Apr 20 2018, 3:35 PM.

Event Timeline

MaskRay created this revision.Apr 20 2018, 3:35 PM
ruiu added a comment.Apr 20 2018, 3:46 PM

Don't you have to change the test?

MaskRay added a comment.EditedApr 20 2018, 3:47 PM

The test does not change.

The original code uses Old to refer to the incoming symbol while New is for the old symbol. I think it is a bit weird so I swap the names in this revision. Tests are unaffected.

ruiu accepted this revision.Apr 20 2018, 3:50 PM

LGTM

This revision is now accepted and ready to land.Apr 20 2018, 3:50 PM
This revision was automatically updated to reflect the committed changes.