summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-04-21 13:45:32 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-04-21 13:45:32 +0000
commit6956b1a517f470b133efd9a59084bee555057ceb (patch)
tree90b1df5edc39d2f9b96013904c60f8e2e504048a /llvm/include/llvm-c
parentf2ba994bf6d270f4eb1c152c7e98e13db847b02b (diff)
downloadbcm5719-llvm-6956b1a517f470b133efd9a59084bee555057ceb.tar.gz
bcm5719-llvm-6956b1a517f470b133efd9a59084bee555057ceb.zip
Convert getFileOffset to getOffset and move it to its only user.
We normally don't drop functions from the C API's, but in this case I think we can: * The old implementation of getFileOffset was fairly broken * The introduction of LLVMGetSymbolFileOffset was itself a C api breaking change as it removed LLVMGetSymbolOffset. * It is an incredibly specialized use case. The only reason MCJIT needs it is because of its odd position of being a dynamic linker of .o files. llvm-svn: 206750
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Object.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/Object.h b/llvm/include/llvm-c/Object.h
index c271552482e..447fcea7bc2 100644
--- a/llvm/include/llvm-c/Object.h
+++ b/llvm/include/llvm-c/Object.h
@@ -78,7 +78,6 @@ void LLVMMoveToNextRelocation(LLVMRelocationIteratorRef RI);
// SymbolRef accessors
const char *LLVMGetSymbolName(LLVMSymbolIteratorRef SI);
uint64_t LLVMGetSymbolAddress(LLVMSymbolIteratorRef SI);
-uint64_t LLVMGetSymbolFileOffset(LLVMSymbolIteratorRef SI);
uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI);
// RelocationRef accessors
OpenPOWER on IntegriCloud