mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-15 03:19:58 +00:00
[python-bindings] Added code for loading a module from bitcode, getset its datalayout, getset its target, dump it, print it to a file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -33,3 +33,6 @@ class TestBase(unittest.TestCase):
|
||||
|
||||
def get_test_file(self):
|
||||
return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_file")
|
||||
|
||||
def get_test_bc(self):
|
||||
return os.path.join(os.path.dirname(os.path.abspath(__file__)), "test.bc")
|
||||
|
Reference in New Issue
Block a user