brintos

brintos / llvm-project-archived public Read only

0
0
Text · 293 B · 9c3dd56 Raw
14 lines · python
1import inspect2import os3import sys4 5 6def add_lldbsuite_packages_dir(lldb_root):7    packages_dir = os.path.join(lldb_root, "packages", "Python")8    sys.path.insert(0, packages_dir)9 10 11lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe()))12 13add_lldbsuite_packages_dir(lldb_root)14