mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 07:28:26 +02:00
dbgllvm: fix crash for files without procedures/functions
This commit is contained in:
parent
067d96242c
commit
d1aaeff832
@ -2120,6 +2120,7 @@ implementation
|
||||
lang: tdwarf_source_language;
|
||||
objcruntimeversion: longint;
|
||||
begin
|
||||
ensuremetainit;
|
||||
if (ds_dwarf_cpp in current_settings.debugswitches) then
|
||||
lang:=DW_LANG_C_plus_plus
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user