Vendor import of lldb release_80 branch r364487:

https://llvm.org/svn/llvm-project/lldb/branches/release_80@364487
This commit is contained in:
Dimitry Andric 2019-07-06 15:34:15 +00:00
parent 89da04f7e8
commit 92d50def1e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,4 @@
REQUIRES: python
RUN: %build %p/Inputs/hello.cpp -o %t
RUN: %lldb %t -s %p/Inputs/convenience.in -o quit | FileCheck %s
@ -19,4 +20,4 @@ CHECK: 8
CHECK: script lldb.frame.GetLineEntry().GetFileSpec().GetFilename()
CHECK: hello.c
CHECK: script lldb.frame.GetFunctionName()
CHECK: main
CHECK: main

View File

@ -73,3 +73,6 @@ def calculate_arch_features(arch_string):
if os.path.isdir(cachedir):
print("Deleting module cache at %s."%cachedir)
shutil.rmtree(cachedir)
if not config.lldb_disable_python:
config.available_features.add('python')