[Lldb-commits] [lldb] 4c8662e - [lldb] Fix library layering after D145574

Fangrui Song via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 13 10:55:20 PDT 2023


Author: Fangrui Song
Date: 2023-04-13T10:55:15-07:00
New Revision: 4c8662e3fe304005d1a64c1c8bfb0c0d71e21324

URL: https://github.com/llvm/llvm-project/commit/4c8662e3fe304005d1a64c1c8bfb0c0d71e21324
DIFF: https://github.com/llvm/llvm-project/commit/4c8662e3fe304005d1a64c1c8bfb0c0d71e21324.diff

LOG: [lldb] Fix library layering after D145574

Added: 
    

Modified: 
    lldb/include/lldb/lldb-private-types.h
    lldb/source/Core/DumpRegisterValue.cpp
    lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/lldb-private-types.h b/lldb/include/lldb/lldb-private-types.h
index b89b8eae0d124..9ff85ab162ada 100644
--- a/lldb/include/lldb/lldb-private-types.h
+++ b/lldb/include/lldb/lldb-private-types.h
@@ -11,7 +11,6 @@
 
 #if defined(__cplusplus)
 
-#include "lldb/Target/RegisterFlags.h"
 #include "lldb/lldb-private.h"
 
 #include "llvm/ADT/ArrayRef.h"
@@ -27,6 +26,7 @@ class DynamicLibrary;
 namespace lldb_private {
 class Platform;
 class ExecutionContext;
+class RegisterFlags;
 
 typedef llvm::sys::DynamicLibrary (*LoadPluginCallbackType)(
     const lldb::DebuggerSP &debugger_sp, const FileSpec &spec, Status &error);

diff  --git a/lldb/source/Core/DumpRegisterValue.cpp b/lldb/source/Core/DumpRegisterValue.cpp
index d1bde2c8f9156..deeddfc96f3d4 100644
--- a/lldb/source/Core/DumpRegisterValue.cpp
+++ b/lldb/source/Core/DumpRegisterValue.cpp
@@ -11,6 +11,7 @@
 #include "lldb/Core/ValueObject.h"
 #include "lldb/Core/ValueObjectConstResult.h"
 #include "lldb/DataFormatters/DumpValueObjectOptions.h"
+#include "lldb/Target/RegisterFlags.h"
 #include "lldb/Utility/DataExtractor.h"
 #include "lldb/Utility/Endian.h"
 #include "lldb/Utility/RegisterValue.h"

diff  --git a/lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp b/lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
index abd6afbd916ca..49348ed697014 100644
--- a/lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
+++ b/lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp
@@ -11,6 +11,7 @@
 #include "Plugins/TypeSystem/Clang/TypeSystemClang.h"
 #include "RegisterTypeBuilderClang.h"
 #include "lldb/Core/PluginManager.h"
+#include "lldb/Target/RegisterFlags.h"
 #include "lldb/lldb-enumerations.h"
 
 using namespace lldb_private;


        


More information about the lldb-commits mailing list