llvm-project/lldb/include/lldb
Pavel Labath 3dfb949861 [lldb] Check for and use ptsname_r if available
ptsname is not thread-safe. ptsname_r is available on most (but not all)
systems -- use it preferentially.

In the patch I also improve the thread-safety of the ptsname fallback
path by wrapping it in a mutex. This should guarantee the safety of a
typical ptsname implementation using a single static buffer, as long as
all callers go through this function.

I also remove the error arguments, as the only way this function can
fail is if the "primary" fd is not valid. This is a programmer error as
this requirement is documented, and all callers ensure that is the case.

Differential Revision: https://reviews.llvm.org/D88728
2020-10-07 15:29:29 +02:00
..
API [lldb] Pass reference instead of pointer in protected SBAddress methods. 2020-09-25 11:47:05 -07:00
Breakpoint [lldb][asan] Mark destructor as virtual to allow subclasses. 2020-08-20 09:21:33 -07:00
Core Fix crash in SBStructuredData::GetDescription() when there's no StructuredDataPlugin. 2020-09-30 11:48:54 -07:00
DataFormatters [lldb] tab completion for class `CommandObjectTypeFormatterDelete` 2020-08-31 14:18:07 +02:00
Expression Make DWARFExpression::GetLocationExpression public 2020-08-20 15:12:28 -07:00
Host [lldb] Check for and use ptsname_r if available 2020-10-07 15:29:29 +02:00
Initialization [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
Interpreter Revert "Revert "Add the ability to write target stop-hooks using the ScriptInterpreter."" 2020-09-29 12:01:14 -07:00
Symbol Revert "Revert "Add the ability to write target stop-hooks using the ScriptInterpreter."" 2020-09-29 12:01:14 -07:00
Target Fix raciness in the StopHook check for "has the target run". 2020-10-05 15:44:28 -07:00
Utility [lldb] Add reproducer verifier 2020-09-02 22:00:00 -07:00
lldb-defines.h Add an option (-y) to "break set" and "source list" that uses the same 2020-07-20 17:40:36 -07:00
lldb-enumerations.h [lldb] tab completion for `target modules load -u` 2020-08-11 12:35:36 +02:00
lldb-forward.h Add a "Trace" plug-in to LLDB to add process trace support in stages. 2020-09-21 17:13:18 -07:00
lldb-private-defines.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-private-enumerations.h [lldb][NFC] Remove FormatterChoiceCriterion 2020-04-15 09:47:15 +02:00
lldb-private-forward.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-private-interfaces.h Add a "Trace" plug-in to LLDB to add process trace support in stages. 2020-09-21 17:13:18 -07:00
lldb-private-types.h [lldb][NFC] Documention that OptionDefinition::completion_type contains enum values 2020-02-18 10:33:38 +01:00
lldb-private.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-public.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-types.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
lldb-versioning.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
module.modulemap [lldb/Host] Remove TaskPool and replace its uses with llvm::ThreadPool 2020-04-22 09:17:49 -07:00