Pete Cooper via llvm-dev
2016-Jan-12 21:07 UTC
[llvm-dev] Is MCRelocationInfo::createExprForRelocation used out of tree?
Hi all The virtual method MCRelocationInfo::createExprForRelocation doesn’t appear to have any callers. Is anyone using it out of tree? In tree, its overridden in X86ELFRelocationInfo.cpp and X86MachORelocationInfo.cpp, but those overrides have 0% coverage (http://llvm.org/reports/coverage/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp.gcov.html) I’d like to delete these methods and files, assuming they aren’t somehow in use out of tree. Thoughts? Thanks, Pete
Pete Cooper via llvm-dev
2016-Jan-14 21:54 UTC
[llvm-dev] Is MCRelocationInfo::createExprForRelocation used out of tree?
Hi Jim, Rafael As respective code owner and frequent committer to MC, any thoughts on this? Cheers, Pete> On Jan 12, 2016, at 1:07 PM, Pete Cooper <peter_cooper at apple.com> wrote: > > Hi all > > The virtual method MCRelocationInfo::createExprForRelocation doesn’t appear to have any callers. Is anyone using it out of tree? > > In tree, its overridden in X86ELFRelocationInfo.cpp and X86MachORelocationInfo.cpp, but those overrides have 0% coverage (http://llvm.org/reports/coverage/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp.gcov.html) > > I’d like to delete these methods and files, assuming they aren’t somehow in use out of tree. > > Thoughts? > > Thanks, > Pete
Rafael Espíndola via llvm-dev
2016-Jan-15 00:19 UTC
[llvm-dev] Is MCRelocationInfo::createExprForRelocation used out of tree?
Deleting LGTM. It is a leftover of MCAnalysis. Cheers, Rafael On 14 January 2016 at 16:54, Pete Cooper <peter_cooper at apple.com> wrote:> Hi Jim, Rafael > > As respective code owner and frequent committer to MC, any thoughts on this? > > Cheers, > Pete >> On Jan 12, 2016, at 1:07 PM, Pete Cooper <peter_cooper at apple.com> wrote: >> >> Hi all >> >> The virtual method MCRelocationInfo::createExprForRelocation doesn’t appear to have any callers. Is anyone using it out of tree? >> >> In tree, its overridden in X86ELFRelocationInfo.cpp and X86MachORelocationInfo.cpp, but those overrides have 0% coverage (http://llvm.org/reports/coverage/lib/Target/X86/MCTargetDesc/X86MachORelocationInfo.cpp.gcov.html) >> >> I’d like to delete these methods and files, assuming they aren’t somehow in use out of tree. >> >> Thoughts? >> >> Thanks, >> Pete >
Apparently Analagous Threads
- Is MCRelocationInfo::createExprForRelocation used out of tree?
- [LLVMdev] Removing lib/MC/MCObjectDisassembler (and more?)
- [LLVMdev] Removing lib/MC/MCObjectDisassembler (and more?)
- [LLVMdev] suspicious typo in MCObjectDisassembler.cpp
- [LLVMdev] suspicious typo in MCObjectDisassembler.cpp