diff options
author | Gregory Szorc <gregory.szorc@gmail.com> | 2012-03-10 04:41:24 +0000 |
---|---|---|
committer | Gregory Szorc <gregory.szorc@gmail.com> | 2012-03-10 04:41:24 +0000 |
commit | 385a2532e03a371d3ea8958f09f3b3e54c3e3de3 (patch) | |
tree | 04820d1a110b0c3f88d2d226ce3d95156f21b348 /llvm/bindings/python/tests/test_core.py | |
parent | 224ec821da0384b551a2568f4491293c85d517ad (diff) | |
download | bcm5719-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_core.py')
-rw-r--r-- | llvm/bindings/python/tests/test_core.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/bindings/python/tests/test_core.py b/llvm/bindings/python/tests/test_core.py deleted file mode 100644 index 8c4e9337053..00000000000 --- a/llvm/bindings/python/tests/test_core.py +++ /dev/null @@ -1,11 +0,0 @@ -from llvm.common import find_library -from llvm.core import MemoryBuffer - -import unittest - -class TestCore(unittest.TestCase): - def test_memory_buffer_create_from_file(self): - source = find_library() - self.assertIsNotNone(source) - - mb = MemoryBuffer(filename=source) |