forked from OSchip/llvm-project
parent
775aaeb765
commit
18da38edb3
|
@ -387,7 +387,7 @@ def setupCrashInfoHook():
|
||||||
global setCrashInfoHook
|
global setCrashInfoHook
|
||||||
setCrashInfoHook = setCrashInfoHook_NonMac # safe default
|
setCrashInfoHook = setCrashInfoHook_NonMac # safe default
|
||||||
if platform.system() == "Darwin":
|
if platform.system() == "Darwin":
|
||||||
import lock
|
from . import lock
|
||||||
test_dir = os.environ['LLDB_TEST']
|
test_dir = os.environ['LLDB_TEST']
|
||||||
if not test_dir or not os.path.exists(test_dir):
|
if not test_dir or not os.path.exists(test_dir):
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue