[Lldb-commits] [lldb] 61afdf0 - [lldb] Enable inheriting TCC permissions in lldb-test

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 11 11:37:21 PDT 2020


Author: Jonas Devlieghere
Date: 2020-08-11T11:37:14-07:00
New Revision: 61afdf0ab43f1aec93d3d482cd3d1d95c537aefe

URL: https://github.com/llvm/llvm-project/commit/61afdf0ab43f1aec93d3d482cd3d1d95c537aefe
DIFF: https://github.com/llvm/llvm-project/commit/61afdf0ab43f1aec93d3d482cd3d1d95c537aefe.diff

LOG: [lldb] Enable inheriting TCC permissions in lldb-test

Like the rest of the test suite, also set the target.inherit-tcc option
to true in lldb-test.

Added: 
    

Modified: 
    lldb/tools/lldb-test/lldb-test.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/tools/lldb-test/lldb-test.cpp b/lldb/tools/lldb-test/lldb-test.cpp
index 8625d4485277..1035ff530204 100644
--- a/lldb/tools/lldb-test/lldb-test.cpp
+++ b/lldb/tools/lldb-test/lldb-test.cpp
@@ -1102,6 +1102,9 @@ int main(int argc, const char *argv[]) {
   Dbg->GetCommandInterpreter().HandleCommand(
       "settings set plugin.process.gdb-remote.packet-timeout 60",
       /*add_to_history*/ eLazyBoolNo, Result);
+  Dbg->GetCommandInterpreter().HandleCommand(
+      "settings set target.inherit-tcc true",
+      /*add_to_history*/ eLazyBoolNo, Result);
 
   if (!opts::Log.empty())
     Dbg->EnableLog("lldb", {"all"}, opts::Log, 0, errs());


        


More information about the lldb-commits mailing list