diff --git a/build.bat b/build.bat index 8a8ea71f..561e7a88 100644 --- a/build.bat +++ b/build.bat @@ -102,7 +102,7 @@ if not "%no_meta%"=="1" ( :: --- Build Everything (@build_targets) -------------------------------------- pushd build if "%raddbg%"=="1" set didbuild=1 && %compile% ..\src\raddbg\raddbg_main.c %compile_link% %link_icon% %out%raddbg.exe || exit /b 1 -if "%radlink%"=="1" set didbuild=1 && %compile% ..\src\linker\lnk.c %compile_link% %out%radlink.exe || exit /b 1 +if "%radlink%"=="1" set didbuild=1 && %compile% ..\src\linker\lnk.c %compile_link% %out%radlink.exe /NATVIS:..\src\linker\linker.natvis || exit /b 1 if "%rdi_from_pdb%"=="1" set didbuild=1 && %compile% ..\src\rdi_from_pdb\rdi_from_pdb_main.c %compile_link% %out%rdi_from_pdb.exe || exit /b 1 if "%rdi_from_dwarf%"=="1" set didbuild=1 && %compile% ..\src\rdi_from_dwarf\rdi_from_dwarf.c %compile_link% %out%rdi_from_dwarf.exe || exit /b 1 if "%rdi_dump%"=="1" set didbuild=1 && %compile% ..\src\rdi_dump\rdi_dump_main.c %compile_link% %out%rdi_dump.exe || exit /b 1 diff --git a/src/linker/linker.natvis b/src/linker/linker.natvis new file mode 100644 index 00000000..cd8dd98a --- /dev/null +++ b/src/linker/linker.natvis @@ -0,0 +1,106 @@ + + + + {{ name={name} flags={flags} id={id} sort_index={sort_index} }} + + + + + + count + + count + v + + + + + + + + {{count={count} first={first} last={last} }} + + + count + first + next + data + + + + + + {{count={count} first={first} last={last} }} + + + count + first + next + v + + + + + + {{count={count} first={first} last={last} }} + + count + + count + first + next_line_table + this + + + + + + + + + + + + + + + count + + + + + + idx = 0 + + + node->v[idx] + idx += 1 + + node = node->next + + + + + + + + + + + + + + + {count,cap,v} + + base + count + cap + + count + v + + + + +