mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00:00
detect and error out on PDB linked with /DEBUG:FASTLINK
This commit is contained in:
@@ -2957,6 +2957,11 @@ p2r_convert(Arena *arena, P2R_User2Convert *in)
|
||||
named_streams = pdb_named_stream_table_from_info(arena, info);
|
||||
MemoryCopyStruct(&auth_guid, &info->auth_guid);
|
||||
scratch_end(scratch);
|
||||
|
||||
if (info->features & PDB_FeatureFlag_MINIMAL_DBG_INFO) {
|
||||
fprintf(stderr, "ERROR: PDB was linked with /DEBUG:FASTLINK (partial debug info is not supported). Please relink using /DEBUG:FULL.");
|
||||
os_abort(1);
|
||||
}
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user