LLDB mainline
PathMappingList.cpp File Reference
#include <climits>
#include <cstring>
#include <optional>
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/PosixApi.h"
#include "lldb/Target/PathMappingList.h"
#include "lldb/Utility/FileSpec.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/Stream.h"
#include "lldb/lldb-private-enumerations.h"

Go to the source code of this file.

Functions

static void AppendPathComponents (FileSpec &path, llvm::StringRef components, llvm::sys::path::Style style)
 Append components to path, applying style.

Function Documentation

◆ AppendPathComponents()

void AppendPathComponents ( FileSpec & path,
llvm::StringRef components,
llvm::sys::path::Style style )
static

Append components to path, applying style.

Definition at line 214 of file PathMappingList.cpp.

References lldb_private::FileSpec::AppendPathComponent().

Referenced by lldb_private::PathMappingList::RemapPath(), and lldb_private::PathMappingList::ReverseRemapPath().