projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[llvm.py] Initial skeleton for Python LLVM bindings
[oota-llvm.git]
/
bindings
/
python
/
tests
/
test_object.py
1
from llvm.common import find_library
2
from llvm.object import ObjectFile
3
4
import unittest
5
6
class TestObjectFile(unittest.TestCase):
7
def test_create_from_file(self):
8
source = find_library()
9
of = ObjectFile(filename=source)