search for: isrelocatableobject

Displaying 1 result from an estimated 1 matches for "isrelocatableobject".

2016 Mar 24
1
[PATCH] D15965: Add support for dumping relocations in non-relocatable files
It sounds like what you’re asking is, rather that universally calling RelocationRef::getOffset inside llvm-objdump.cpp I should: * Check if Obj “isRelocatableObject” * If it is, call RelocationRef::getOffset() * If it isn’t o Call RelocationRef::getAddress() o Build an ordered map of all sections and their bounds, check if the relocation lands within a section o Subtract the section address from the relocation address Since getAddr...