Don't use -O in lit tests.
authorZachary Turner <zturner@google.com>
Mon, 19 Nov 2018 15:06:10 +0000 (15:06 +0000)
committerZachary Turner <zturner@google.com>
Mon, 19 Nov 2018 15:06:10 +0000 (15:06 +0000)
commit28d0131d40584898a8a5800206b28ecfbd118a98
tree2e42303c4a655515ebc907e509a141f29f3c3143
parenta1dca3553ef4e429ce38e56c8dded33f62788dda
Don't use -O in lit tests.

Because of different shell quoting rules, and the fact that LLDB
commands often contain spaces, -O is not portable for writing command
lines. Instead, we should use explicit lldbinit files.

Differential Revision: https://reviews.llvm.org/D54680

llvm-svn: 347213
lldb/lit/ExecControl/StopHook/Inputs/stop-hook-1.lldbinit [new file with mode: 0644]
lldb/lit/ExecControl/StopHook/Inputs/stop-hook-2.lldbinit [new file with mode: 0644]
lldb/lit/ExecControl/StopHook/Inputs/stop-hook-3.lldbinit [new file with mode: 0644]
lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-1.lldbinit [new file with mode: 0644]
lldb/lit/ExecControl/StopHook/Inputs/stop-hook-threads-2.lldbinit [new file with mode: 0644]
lldb/lit/ExecControl/StopHook/stop-hook-threads.test
lldb/lit/ExecControl/StopHook/stop-hook.test