llvm-project/lldb/tools
Jonas Devlieghere 73811d32c7 [lldb] Move copying of files into reproducer out of process
For performance reasons the reproducers don't copy the files captured by
the file collector eagerly, but wait until the reproducer needs to be
generated.

This is a problematic when LLDB crashes and we have to do all this
signal-unsafe work in the signal handler. This patch uses a similar
trick to clang, which has the driver invoke a new cc1 instance to do all
this work out-of-process.

This patch moves the writing of the mapping file as well as copying over
the reproducers into a separate process spawned when lldb crashes.

Differential revision: https://reviews.llvm.org/D89600
2020-10-23 12:33:54 -07:00
..
argdumper [lldb] Make lldb-argdumper a dependency of liblldb 2020-08-27 09:31:02 -07:00
compact-unwind Add arm64_32 support to lldb, an ILP32 codegen 2019-10-16 19:14:49 +00:00
darwin-debug Embed a zero-length /dev/null in darwin-debug for the special section. 2020-01-22 15:50:33 -08:00
darwin-threads the thread id is easier to read in base16. 2018-03-06 23:33:02 +00:00
debugserver Fix typeo in attach failed error message. 2020-10-14 23:31:24 -07:00
driver [lldb] Move copying of files into reproducer out of process 2020-10-23 12:33:54 -07:00
intel-features [lldb] Get rid of LLDB_LIB_DIR and LLDB_IMPLIB_DIR in dotest 2020-08-28 15:45:54 -07:00
lldb-instr [lldb/Reproducers] Change the way we instrument void* arguments 2020-02-04 19:05:13 -08:00
lldb-server [lldb] Fix windows build for fa5fa63fd1 2020-10-21 17:51:11 +02:00
lldb-test [lldb] Get rid of helper CMake variables for Python 2020-08-17 08:47:52 -07:00
lldb-vscode [lldb-vscode] Allow an empty 'breakpoints' field to clear breakpoints. 2020-09-30 11:32:06 -07:00
CMakeLists.txt [CMake] Copy over the system debugserver when using LLDB_USE_SYSTEM_DEBUGSERVER 2019-09-24 22:39:04 +00:00