Darwin: support -Xg for DWARFv4

This commit is contained in:
Jonas Maebe 2023-01-21 22:02:10 +01:00
parent 789031a6e6
commit e54197e9d2

View File

@ -3984,7 +3984,7 @@ begin
{ external debug info is only supported for DWARF on darwin }
if (target_info.system in systems_darwin) and
(cs_link_separate_dbg_file in init_settings.globalswitches) and
not(paratargetdbg in [dbg_dwarf2,dbg_dwarf3]) then
not(paratargetdbg in [dbg_dwarf2,dbg_dwarf3,dbg_dwarf4]) then
begin
Message(option_debug_external_unsupported);
exclude(init_settings.globalswitches,cs_link_separate_dbg_file);