mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-09 17:06:04 +02:00
* 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:
parent
6e50894d6f
commit
f0d42db82d
@ -4303,6 +4303,13 @@ implementation
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
begin
|
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
|
case def.stringtype of
|
||||||
st_shortstring:
|
st_shortstring:
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user