summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit385a2532e03a371d3ea8958f09f3b3e54c3e3de3 (patch)
tree04820d1a110b0c3f88d2d226ce3d95156f21b348 /llvm/bindings/python/tests/test_object.py
parent224ec821da0384b551a2568f4491293c85d517ad (diff)
downloadbcm5719-llvm-385a2532e03a371d3ea8958f09f3b3e54c3e3de3.tar.gz
bcm5719-llvm-385a2532e03a371d3ea8958f09f3b3e54c3e3de3.zip
[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. llvm-svn: 152482
Diffstat (limited to 'llvm/bindings/python/tests/test_object.py')
-rw-r--r--llvm/bindings/python/tests/test_object.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/bindings/python/tests/test_object.py b/llvm/bindings/python/tests/test_object.py
deleted file mode 100644
index afb02019672..00000000000
--- a/llvm/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)
OpenPOWER on IntegriCloud