fix type source for PCH type indices

This commit is contained in:
Nikita Smith
2026-04-06 12:04:31 -07:00
parent c0418b736d
commit d1594f796d
+1 -1
View File
@@ -582,7 +582,7 @@ lnk_leaf_ref_from_ti(LNK_CodeViewInput *input, U32 obj_idx, CV_TypeIndexSource s
if (contains_1u64(debug_t->pch_ti_range[source], ti)) { if (contains_1u64(debug_t->pch_ti_range[source], ti)) {
leaf_ref = (LNK_LeafRef){ leaf_ref = (LNK_LeafRef){
.obj_idx = debug_t->pch_obj_idx, .obj_idx = debug_t->pch_obj_idx,
.leaf_idx = cv_leaf_idx_from_ti(&input->debug_t_arr[debug_t->pch_obj_idx], source, ti) .leaf_idx = cv_leaf_idx_from_ti(&input->debug_p_arr[debug_t->pch_obj_idx], source, ti)
}; };
} else { } else {
U64 ts_idx = input->obj_to_ts[obj_idx]; U64 ts_idx = input->obj_to_ts[obj_idx];