llvm-project/lldb/tools/driver
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
..
CMakeLists.txt [CMake] Configure the Info.plist so it contains a real version number. 2019-11-15 09:50:42 -08:00
Driver.cpp [lldb] Move copying of files into reproducer out of process 2020-10-23 12:33:54 -07:00
Driver.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
Options.td [lldb] Move copying of files into reproducer out of process 2020-10-23 12:33:54 -07:00
Platform.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Platform.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-Info.plist.in [CMake] Configure the Info.plist so it contains a real version number. 2019-11-15 09:50:42 -08:00