================ @@ -0,0 +1,675 @@ +# struct Type {}; +# +# template <typename _Tp, bool, bool, bool> struct _Optional_payload; +# +# template <typename _Tp> struct _Optional_payload<_Tp, true, false, false> {}; +# +# template <typename _Tp, bool _Copy, bool _Move> +# struct _Optional_payload<_Tp, false, _Copy, _Move> +# : _Optional_payload<_Tp, true, false, false> {}; +# +# int main() { +# _Optional_payload<Type, false, false, true> X; +# } +# +# YAML generated on Linux using obj2yaml on the above program +# compiled with G++. ---------------- Michael137 wrote:
Lets add a comment saying this is malformed DWARF that is missing `DW_TAG_template_value_parameter` entries, which is important for the test because that makes the two specializations structurally match in the AST. https://github.com/llvm/llvm-project/pull/154123 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits