[lldb] Enable inheriting TCC permissions in lldb-test
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 11 Aug 2020 18:36:35 +0000 (11:36 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 11 Aug 2020 18:37:14 +0000 (11:37 -0700)
Like the rest of the test suite, also set the target.inherit-tcc option
to true in lldb-test.

lldb/tools/lldb-test/lldb-test.cpp

index 8625d44..1035ff5 100644 (file)
@@ -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());