|
@@ -244,8 +244,6 @@ implementation
|
|
|
datatype:=dt_none;
|
|
|
end;
|
|
|
|
|
|
-
|
|
|
-
|
|
|
{****************************************************************************
|
|
|
TDwarfAsmCFILowLevel
|
|
|
****************************************************************************}
|
|
@@ -296,6 +294,13 @@ implementation
|
|
|
list.concat(tai_const.create_uleb128bit(dwarf_reg(NR_STACK_POINTER_REG)));
|
|
|
list.concat(tai_const.create_uleb128bit(0));
|
|
|
end;
|
|
|
+{$elseif defined(aarch64)}
|
|
|
+ procedure TDwarfAsmCFILowLevel.generate_initial_instructions(list:TAsmList);
|
|
|
+ begin
|
|
|
+ list.concat(tai_const.create_8bit(DW_CFA_def_cfa));
|
|
|
+ list.concat(tai_const.create_uleb128bit(dwarf_reg(NR_STACK_POINTER_REG)));
|
|
|
+ list.concat(tai_const.create_uleb128bit(0));
|
|
|
+ end;
|
|
|
{$else}
|
|
|
{ if more cpu dependend stuff is implemented, this needs more refactoring }
|
|
|
procedure TDwarfAsmCFILowLevel.generate_initial_instructions(list:TAsmList);
|