llvm-project/lldb/unittests/Process
Michał Górny 9b031d5e3a [lldb] Make Process and subclass constructors protected
Make constructors of the Process and its subclasses class protected,
to prevent accidentally constructing Process on stack when it could be
afterwards accessed via a shared_ptr (since it uses
std::enable_shared_from_this<>).

The only place where a stack allocation was used were unittests,
and fixing them via declaring an explicit public constructor
in the respective mock classes is trivial.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D131275
2022-08-08 17:34:27 +02:00
..
Linux [trace][intelpt] Support system-wide tracing [20] - Rename some fields in the schema 2022-06-16 11:42:22 -07:00
POSIX Fix buildbot after https://reviews.llvm.org/D115073. 2021-12-07 12:03:45 -08:00
Utility [lldb][AArch64] Add UnpackTagsFromCoreFileSegment to MemoryTagManager 2022-07-25 15:51:36 +01:00
gdb-remote Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
minidump Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
CMakeLists.txt [lldb] [Process/FreeBSDRemote] Access GPR via reginfo offsets 2020-11-16 12:19:37 +01:00
ProcessEventDataTest.cpp [lldb] Make Process and subclass constructors protected 2022-08-08 17:34:27 +02:00