[Lldb-commits] [lldb] [lldb] Realpath symlinks for breakpoints (PR #102223)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 7 02:26:04 PDT 2024
================
@@ -0,0 +1,66 @@
+//===-- RealpathPrefixes.cpp ----------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Utility/RealpathPrefixes.h"
+
+#include "lldb/Target/Statistics.h"
+#include "lldb/Target/Target.h"
----------------
labath wrote:
This is a layering violation. Code in Utility should not depend on Target stuff. If you want this to be a Utility class, you should use some kind of dependency inversion technique to break this dependency.
https://github.com/llvm/llvm-project/pull/102223
More information about the lldb-commits
mailing list