We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe51b4b + 756e077 commit b0468e5Copy full SHA for b0468e5
lldb/test/API/python_api/type/main.cpp
@@ -44,7 +44,12 @@ template <unsigned Value> struct PointerInfo {
44
};
45
46
template <unsigned Value, typename InfoType = PointerInfo<Value>>
47
-struct Pointer {};
+struct Pointer {
48
+ // When compiling for Windows with exceptions enabled, this struct
49
+ // must contain something that takes space and is initialised.
50
+ // Otherwise it will not be present in the debug information.
51
+ int pad = 0;
52
+};
53
54
enum EnumType {};
55
enum class ScopedEnumType {};
0 commit comments