mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 20:39:41 -07:00
detect and error out on PDB linked with /DEBUG:FASTLINK
This commit is contained in:
1 parent
6c5d2a05cb
commit
a06f576161
4 files changed
+47
-27
No files matched your search
@@ -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