================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to