This is an archive of the discontinued LLVM Phabricator instance.

[MC] ELFObjectWriter: Removing unneeded variable and cast. NFC.
ClosedPublic

Authored by sbc100 on Apr 30 2018, 2:03 PM.

Details

Summary

getBeginSymbol is declared on the base class so we don't need ELFSec.

shouldRelocateWithSymbol is only called with instances of MCSymbolELF.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Apr 30 2018, 2:03 PM
sbc100 edited the summary of this revision. (Show Details)Apr 30 2018, 2:05 PM
sbc100 added a reviewer: espindola.
sbc100 updated this revision to Diff 144741.May 1 2018, 9:39 AM
  • rebas
sbc100 retitled this revision from [MC] ELFObjectWriter: Removing unneeded variable and cast to [MC] ELFObjectWriter: Removing unneeded variable and cast. NFC..May 7 2018, 12:07 PM
sbc100 added a reviewer: dschuff.
sbc100 removed a reviewer: espindola.
dschuff accepted this revision.May 7 2018, 12:11 PM
This revision is now accepted and ready to land.May 7 2018, 12:11 PM
This revision was automatically updated to reflect the committed changes.