mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
[python-bindings] Implemented the PassRegistry class and the calls to initialize/shutdown llvm. Also included an initialize_llvm declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190456 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
from .base import TestBase
|
||||
from ..core import OpCode
|
||||
from ..core import MemoryBuffer
|
||||
from ..core import PassRegistry
|
||||
|
||||
class TestCore(TestBase):
|
||||
def test_opcode(self):
|
||||
@ -25,3 +26,6 @@ class TestCore(TestBase):
|
||||
source = self.get_test_file()
|
||||
m = MemoryBuffer(filename=source)
|
||||
self.assertEqual(len(m), 50)
|
||||
|
||||
def test_create_passregistry(self):
|
||||
PassRegistry()
|
||||
|
Reference in New Issue
Block a user