setting for preferring displaying pointer addresses before contents

This commit is contained in:
Ryan Fleury
2026-04-20 09:57:32 -07:00
parent 2bf57c065a
commit 6764e1281e
9 changed files with 68 additions and 26 deletions
+11
View File
@@ -404,6 +404,15 @@ few_params1(Pair *pairs, int count, Function_No_Params_Type *no_params_type){
}
//
// NOTE(rjf): this doesn't work because MSVC - despite GENERATING DEBUG INFO
// FOR THE MyByte TYPEDEF - does not actually *reference* this typedef
// anywhere, and instead treats all `MyByte *`s as `char *`s, thus completely
// eliminating the point of the typedef and view. :(
//
typedef char MyByte;
raddbg_type_view(MyByte *, no_string($));
static void
type_coverage_eval_tests(void)
{
@@ -440,6 +449,8 @@ type_coverage_eval_tests(void)
const char const_string_array[] = "Hello, World!";
const char *const const_ptr_const_string = "Hello, World!";
MyByte *non_string_byte_ptr = "Hello, World!";
void *pointer = &basics;
Basics *pointer_to_basics = &basics;
Basics **pointer_to_pointer_to_basics = &pointer_to_basics;