mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:39:30 +02:00
FpDebug: add size for function-ref
git-svn-id: trunk@64398 -
This commit is contained in:
parent
3ffb492625
commit
ba1a82803a
@ -822,6 +822,7 @@ DECL = DW_AT_decl_column, DW_AT_decl_file, DW_AT_decl_line
|
||||
function GetDataAddressNext(AValueObj: TFpValueDwarf; var AnAddress: TFpDbgMemLocation;
|
||||
out ADoneWork: Boolean; ATargetType: TFpSymbolDwarfType): Boolean; override;
|
||||
procedure KindNeeded; override;
|
||||
function DoReadSize(const AValueObj: TFpValue; out ASize: TFpDbgValueSize): Boolean; override;
|
||||
public
|
||||
destructor Destroy; override;
|
||||
function GetTypedValueObject({%H-}ATypeCast: Boolean; AnOuterType: TFpSymbolDwarfType = nil): TFpValueDwarf; override;
|
||||
@ -4820,6 +4821,14 @@ begin
|
||||
SetKind(skProcedureRef);
|
||||
end;
|
||||
|
||||
function TFpSymbolDwarfTypeSubroutine.DoReadSize(const AValueObj: TFpValue; out
|
||||
ASize: TFpDbgValueSize): Boolean;
|
||||
begin
|
||||
ASize := ZeroSize;
|
||||
ASize.Size := CompilationUnit.AddressSize;
|
||||
Result := True;
|
||||
end;
|
||||
|
||||
destructor TFpSymbolDwarfTypeSubroutine.Destroy;
|
||||
begin
|
||||
FreeAndNil(FProcMembers);
|
||||
|
Loading…
Reference in New Issue
Block a user