diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp index 3f8f01081189d..aa1f8994ecb66 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp @@ -1842,7 +1842,8 @@ PlatformDarwin::FindXcodeContentsDirectoryInPath(llvm::StringRef path) { auto next = it; if (++next != end && *next == "Contents") { llvm::SmallString<128> buffer; - llvm::sys::path::append(buffer, begin, ++next); + llvm::sys::path::append(buffer, begin, ++next, + llvm::sys::path::Style::posix); return buffer.str().str(); } }