[Lldb-commits] [lldb] [lldb][lldb-server] Enable sending RegisterFlags as XML (PR #69951)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 25 02:09:36 PDT 2023
================
@@ -9,10 +9,16 @@
#ifndef LLDB_TARGET_REGISTERFLAGS_H
#define LLDB_TARGET_REGISTERFLAGS_H
-#include "lldb/Utility/Log.h"
+#include <cassert>
+#include <stdint.h>
+#include <string>
+#include <vector>
----------------
DavidSpickett wrote:
string and vector are needed, presumably because RegisterFlags is a leaf on the build graph so it gets built in relative isolation.
```
In file included from /home/david.spickett/llvm-project/lldb/source/Target/RegisterFlags.cpp:9:
/home/david.spickett/llvm-project/lldb/include/lldb/Target/RegisterFlags.h:84:28: error: no template named 'vector' in namespace 'std'
const std::vector<Field> &fields);
```
And I can't move them to cpp because we include RegisterFlags.h first.
https://github.com/llvm/llvm-project/pull/69951
More information about the lldb-commits
mailing list