llvm-project/lldb/source/Utility
Martin Storsjö a2c9cf4c76 [lldb] Use is_style_posix() for path style checks
Since a8b54834a1, there are two
distinct Windows path styles, `windows_backslash` (with the old
`windows` being an alias for it) and `windows_slash`.
4e4883e1f3 added helpers for
inspecting path styles.

The newly added windows_slash path style doesn't end up used in
LLDB yet anyway, as LLDB is quite decoupled from most of
llvm::sys::path and uses its own FileSpec class. To take it in
use, it could be hooked up in `FileSpec::Style::GetNativeStyle`
(in lldb/source/Utility/FileSpec.cpp) just like in the `real_style`
function in llvm/lib/Support/Path.cpp in
df0ba47c36.

It is not currently clear whether there's a real need for using
the Windows path style with forward slashes in LLDB (if there's any
other applications interacting with it, expecting that style), and
what other changes in LLDB are needed for that to work, but this
at least makes some of the checks more ready for the new style,
simplifying code a bit.

Differential Revision: https://reviews.llvm.org/D113255
2021-11-05 21:50:45 +02:00
..
ARM64_DWARF_Registers.h
ARM64_ehframe_Registers.h
ARM_DWARF_Registers.h
ARM_ehframe_Registers.h
ArchSpec.cpp
Args.cpp
Baton.cpp
Broadcaster.cpp
CMakeLists.txt
CompletionRequest.cpp
Connection.cpp
ConstString.cpp
DataBufferHeap.cpp
DataBufferLLVM.cpp
DataEncoder.cpp
DataExtractor.cpp
Environment.cpp
Event.cpp
FileSpec.cpp [lldb] Use is_style_posix() for path style checks 2021-11-05 21:50:45 +02:00
GDBRemote.cpp
IOObject.cpp
LLDBAssert.cpp
Listener.cpp
Log.cpp
Logging.cpp
NameMatches.cpp
PPC64LE_DWARF_Registers.h
PPC64_DWARF_Registers.h
ProcessInfo.cpp
RegisterValue.cpp
RegularExpression.cpp
Reproducer.cpp
ReproducerInstrumentation.cpp [lldb] Make the thread_local g_global_boundary accessed from a single file 2021-10-14 11:17:20 +03:00
ReproducerProvider.cpp
Scalar.cpp [APInt] Normalize naming on keep constructors / predicate methods. 2021-09-09 09:50:24 -07:00
SelectHelper.cpp
State.cpp
Status.cpp [lldb] [Utility] Remove Status::WasInterrupted() along with its only use 2021-10-18 10:50:25 +02:00
Stream.cpp
StreamCallback.cpp
StreamString.cpp
StringExtractor.cpp
StringExtractorGDBRemote.cpp [lldb] [gdb-remote] Implement the vRun packet 2021-09-10 14:08:36 +02:00
StringLexer.cpp
StringList.cpp
StructuredData.cpp
TildeExpressionResolver.cpp
Timer.cpp Revert "Allow signposts to take advantage of deferred string substitution" 2021-10-11 11:09:36 -07:00
TraceGDBRemotePackets.cpp
TraceIntelPTGDBRemotePackets.cpp
UUID.cpp
UnimplementedError.cpp
UriParser.cpp [lldb] [Utility/UriParser] Return results as 'struct URI' 2021-10-25 10:58:21 +02:00
UserID.cpp
UserIDResolver.cpp
UuidCompatibility.h
VASprintf.cpp
VMRange.cpp Use llvm::any_of and llvm::none_of (NFC) 2021-10-24 17:35:33 -07:00
XcodeSDK.cpp