diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-04-21 13:45:32 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-04-21 13:45:32 +0000 |
commit | 7426771280164bf3829a56af23fcc381c4383423 (patch) | |
tree | e26a43a6884c2fe1e82828feeeb6a46a145b4c44 /include/llvm-c | |
parent | d329c79f164b5bd876014c4c0225ae298640bd81 (diff) | |
download | llvm-7426771280164bf3829a56af23fcc381c4383423.tar.gz llvm-7426771280164bf3829a56af23fcc381c4383423.tar.bz2 llvm-7426771280164bf3829a56af23fcc381c4383423.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Object.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm-c/Object.h b/include/llvm-c/Object.h index c271552482..447fcea7bc 100644 --- a/include/llvm-c/Object.h +++ b/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 |