Jan Kratochvil
4112b47335
[lldb] Fix crash on SBCommandReturnObject & assignment
...
I was writing an SB API client and it was crashing on:
bool DoExecute(SBDebugger dbg, char **command, SBCommandReturnObject &result) {
result = subcommand(dbg, "help");
That is because SBCommandReturnObject &result gets initialized inside LLDB by:
bool DoExecute(Args &command, CommandReturnObject &result) override {
// std::unique_ptr gets initialized here from `&result`!!!
SBCommandReturnObject sb_return(&result);
DoExecute(...);
sb_return.Release();
Differential revision: https://reviews.llvm.org/D67589
llvm-svn: 373775
2019-10-04 19:32:57 +00:00
..
2019-10-03 04:01:07 +00:00
2016-10-29 00:29:15 +00:00
2016-02-18 17:01:40 +00:00
2015-09-04 00:00:41 +00:00
2019-09-11 13:57:41 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-04-26 22:43:16 +00:00
2019-05-23 11:14:47 +00:00
2019-04-26 22:43:16 +00:00
2019-08-14 22:19:23 +00:00
2019-05-03 10:03:28 +00:00
2019-05-23 11:14:47 +00:00
2019-10-04 19:32:57 +00:00
2019-10-04 19:32:57 +00:00
2019-05-23 11:14:47 +00:00
2019-08-06 09:12:42 +00:00
2019-05-23 11:14:47 +00:00
2019-10-03 04:31:46 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-10-03 04:31:46 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-07-05 17:42:08 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-03-19 17:13:13 +00:00
2019-03-19 17:13:13 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-04-03 21:31:22 +00:00
2019-10-01 15:40:41 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-10-04 09:54:58 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-10-03 04:01:07 +00:00
2019-08-05 05:43:48 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-09-26 17:54:59 +00:00
2019-08-14 22:19:23 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-08-14 22:19:23 +00:00
2019-05-23 11:14:47 +00:00
2019-10-01 15:40:41 +00:00
2019-10-03 22:50:18 +00:00
2019-05-23 11:14:47 +00:00
2019-10-03 22:50:18 +00:00
2019-03-19 17:13:13 +00:00
2019-03-19 17:13:13 +00:00
2019-05-23 11:14:47 +00:00
2019-09-04 09:47:18 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-03 21:31:22 +00:00
2019-05-23 11:14:47 +00:00
2019-09-26 17:15:18 +00:00
2019-04-10 20:48:55 +00:00
2019-08-14 22:19:23 +00:00