Skip to content

Commit 49e30f3

Browse files
committed
Add options for LLDB
1 parent 6e27e6c commit 49e30f3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/launch_debugger.cc

+1
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ void launch_debugger(ScopedFd& params_pipe_fd,
318318
string lldb_command_file = create_command_file(lldb_rr_macros());
319319
cmd.push_back("--source-before-file");
320320
cmd.push_back(lldb_command_file);
321+
cmd.insert(cmd.end(), options.begin(), options.end());
321322
push_lldb_target_remote_cmd(cmd, host, port);
322323
env.push_back("LLDB_UNDER_RR=1");
323324
break;

src/test/test_setup.lldb

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
process handle -p true -s true SIGSEGV
2+
process handle -p false -s false SIGKILL
3+

0 commit comments

Comments
 (0)