Initial import of lldb
Change-Id: Ib244e837bee349effa12b2ff6ffffbe3d730e929
This commit is contained in:
14
external/bsd/llvm/dist/lldb/utils/vim-lldb/python-vim-lldb/plugin.py
vendored
Normal file
14
external/bsd/llvm/dist/lldb/utils/vim-lldb/python-vim-lldb/plugin.py
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
# 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 *
|
||||
Reference in New Issue
Block a user