aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/tests/test_object.py
diff options
context:
space:
mode:
authorGregory Szorc <gregory.szorc@gmail.com>2012-03-10 04:41:24 +0000
committerGregory Szorc <gregory.szorc@gmail.com>2012-03-10 04:41:24 +0000
commit61e22cd85cd4c84fff391da67018c92bf21a8e19 (patch)
tree9f3f6b06d25b5735247ea51b665ed16a858cab3b /bindings/python/tests/test_object.py
parent51cf8661637c114e4b4f178bd2677a6bb246be0d (diff)
[llvm.py] Implement interface to object files
It is now possible to load object files and scan over sections, symbols, and relocations! Includes test code with partial coverage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/python/tests/test_object.py')
-rw-r--r--bindings/python/tests/test_object.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/bindings/python/tests/test_object.py b/bindings/python/tests/test_object.py
deleted file mode 100644
index afb0201967..0000000000
--- a/bindings/python/tests/test_object.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from llvm.common import find_library
-from llvm.object import ObjectFile
-
-import unittest
-
-class TestObjectFile(unittest.TestCase):
- def test_create_from_file(self):
- source = find_library()
- of = ObjectFile(filename=source)