================
@@ -19,16 +19,85 @@
#include "lldb/Host/ProcessLaunchInfo.h"
#include "lldb/Target/MemoryRegionInfo.h"
#include "lldb/Target/Process.h"
+#include "lldb/Utility/FileSpec.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/Error.h"
#include "DebuggerThread.h"
#include "ExceptionRecord.h"
#include "ProcessWindowsLog.h"
+#include <cctype>
+#include <string>
+#include <string_view>
+
using namespace lldb;
using namespace lldb_private;
+static void NormalizeWindowsPath(std::string &s) {
+ for (char &c : s) {
+ if (c == '/')
+ c = '\\';
+ else
+ c = std::tolower(static_cast<unsigned char>(c));
+ }
+}
+
+bool ProcessDebugger::IsSystemDLL(const FileSpec &spec) {
----------------
charles-zablit wrote:
Switched to `StringRef` 👍
https://github.com/llvm/llvm-project/pull/208233
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits