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 | 61e22cd85cd4c84fff391da67018c92bf21a8e19 (patch) | |
tree | 9f3f6b06d25b5735247ea51b665ed16a858cab3b /bindings/python/tests/test_core.py | |
parent | 51cf8661637c114e4b4f178bd2677a6bb246be0d (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_core.py')
-rw-r--r-- | bindings/python/tests/test_core.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bindings/python/tests/test_core.py b/bindings/python/tests/test_core.py deleted file mode 100644 index 8c4e933705..0000000000 --- a/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) |