* When ds_dwarf_cpp option is enabled, use dwarf2 implementation of strings debug info. It makes LLDB happy.

git-svn-id: trunk@40492 -
This commit is contained in:
yury 2018-12-07 16:14:02 +00:00
parent 6e50894d6f
commit f0d42db82d

View File

@ -4303,6 +4303,13 @@ implementation
end;
begin
if (ds_dwarf_cpp in current_settings.debugswitches) then
begin
// At least LLDB 6.0.0 does not like this implementation of string types.
// Call the inherited DWARF 2 implementation, which works fine.
inherited;
exit;
end;
case def.stringtype of
st_shortstring:
begin