getBeginSymbol is declared on the base class so we don't need ELFSec.
shouldRelocateWithSymbol is only called with instances of MCSymbolELF.
Differential D46289
[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
Event Timelinesbc100 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 This revision is now accepted and ready to land.May 7 2018, 12:11 PM Closed by commit rL331704: [MC] ELFObjectWriter: Removing unneeded variable and cast (authored by sbc). · Explain WhyMay 7 2018, 4:55 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 144741 lib/MC/ELFObjectWriter.cpp
|