summaryrefslogtreecommitdiffstats
path: root/bindings/python/llvm/object.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/llvm/object.py')
-rw-r--r--bindings/python/llvm/object.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/bindings/python/llvm/object.py b/bindings/python/llvm/object.py
index 4e912ed..b427113 100644
--- a/bindings/python/llvm/object.py
+++ b/bindings/python/llvm/object.py
@@ -372,14 +372,6 @@ class Relocation(LLVMObject):
self.expired = False
@CachedProperty
- def address(self):
- """The address of this relocation, in long bytes."""
- if self.expired:
- raise Exception('Relocation instance has expired.')
-
- return lib.LLVMGetRelocationAddress(self)
-
- @CachedProperty
def offset(self):
"""The offset of this relocation, in long bytes."""
if self.expired:
@@ -498,9 +490,6 @@ def register_library(library):
library.LLVMGetSymbolSize.argtypes = [Symbol]
library.LLVMGetSymbolSize.restype = c_uint64
- library.LLVMGetRelocationAddress.argtypes = [c_object_p]
- library.LLVMGetRelocationAddress.restype = c_uint64
-
library.LLVMGetRelocationOffset.argtypes = [c_object_p]
library.LLVMGetRelocationOffset.restype = c_uint64
OpenPOWER on IntegriCloud