You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
93f505942c
Due to a bug my earlier commit removed the whole utils directory: https://reviews.llvm.org/D65123 llvm-svn: 366830
17 lines
458 B
Python
17 lines
458 B
Python
|
|
# Try to import all dependencies, catch and handle the error gracefully if
|
|
# it fails.
|
|
|
|
import import_lldb
|
|
|
|
try:
|
|
import lldb
|
|
import vim
|
|
except ImportError:
|
|
sys.stderr.write(
|
|
"Unable to load vim/lldb module. Check lldb is on the path is available (or LLDB is set) and that script is invoked inside Vim with :pyfile")
|
|
pass
|
|
else:
|
|
# Everthing went well, so use import to start the plugin controller
|
|
from lldb_controller import *
|