mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
todo
This commit is contained in:
@@ -1934,6 +1934,11 @@ d2r_convert_types(Arena *arena,
|
||||
type->direct_type = direct_type;
|
||||
} break;
|
||||
case DW_TagKind_ArrayType: {
|
||||
// TODO: @native_vector_support extract byte size from the base type tag
|
||||
// and convert to U256, U512, S256 and S512
|
||||
B32 is_vector = dw_flag_from_tag_attrib_kind(input, cu, tag, DW_AttribKind_GNU_Vector);
|
||||
if (is_vector) { NotImplemented; }
|
||||
|
||||
B32 error = 1;
|
||||
|
||||
// * DWARF vs RDI Array Type Graph *
|
||||
|
||||
@@ -120,6 +120,22 @@ T_BeginTest(d2r_types)
|
||||
DeclStdint("int32_t", int_type);
|
||||
DeclStdint("int64_t", long_int_type);
|
||||
#undef DeclStdInt
|
||||
// TODO: @native_vector_support
|
||||
//
|
||||
// typedef int __attribute__((vector_size(32))) int256
|
||||
// typedef unsigned int __attribute__((vector_size(32))) uint256
|
||||
// typedef int __attribute__((vector_size(64))) int512
|
||||
// typedef unsigned int __attribute__((vector_size(64))) uint512
|
||||
//
|
||||
#if 0
|
||||
dw_writer_tag_begin(writer, DW_TagKind_ArrayType);
|
||||
dw_writer_push_attrib_flag(writer, DW_AttribKind_GNU_Vector, 1);
|
||||
dw_writer_push_attrib_ref(writer, DW_AttribKind_Type, int_type);
|
||||
dw_writer_tag_begin(writer, DW_TagKind_SubrangeType);
|
||||
dw_writer_push_attrib_uint(writer, DW_AttribKind_UpperBound, 15);
|
||||
dw_writer_tag_end(writer);
|
||||
dw_writer_tag_end(writer);
|
||||
#endif
|
||||
|
||||
dw_writer_tag_end(writer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user