[clang-repl] [codegen] Reduce the state in TBAA. NFC for static compilation. (#98138)
[llvm-project.git] / lldb / use_lldb_suite_root.py
blob9c3dd56a0e815a2340f345a3c7a8a0dbd2d2ef0b
1 import inspect
2 import os
3 import sys
6 def add_lldbsuite_packages_dir(lldb_root):
7 packages_dir = os.path.join(lldb_root, "packages", "Python")
8 sys.path.insert(0, packages_dir)
11 lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe()))
13 add_lldbsuite_packages_dir(lldb_root)