[lldb] Fix library layering after D145574
authorFangrui Song <i@maskray.me>
Thu, 13 Apr 2023 17:55:15 +0000 (10:55 -0700)
committerFangrui Song <i@maskray.me>
Thu, 13 Apr 2023 17:55:15 +0000 (10:55 -0700)
lldb/include/lldb/lldb-private-types.h
lldb/source/Core/DumpRegisterValue.cpp
lldb/source/Plugins/RegisterTypeBuilder/RegisterTypeBuilderClang.cpp

index b89b8ea..9ff85ab 100644 (file)
@@ -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);
index d1bde2c..deeddfc 100644 (file)
@@ -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"
index abd6afb..49348ed 100644 (file)
@@ -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;