FpDebug: disable peephole opt when using fpc 3.2.2 => otherwise fpc generates wrong code

This commit is contained in:
Martin 2023-05-01 17:43:22 +02:00
parent 06d0731b07
commit 0b441dd73b
8 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,7 @@ unit FpDbgClasses;
{$mode objfpc}{$H+}
{$TYPEDADDRESS on}
{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF}
{$IF FPC_Fullversion=30202}{$Optimization NOPEEPHOLE}{$ENDIF}
interface

View File

@ -37,6 +37,7 @@ unit FpDbgDwarf;
{$mode objfpc}{$H+}
{$TYPEDADDRESS on}
{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF}
{$IF FPC_Fullversion=30202}{$Optimization NOPEEPHOLE}{$ENDIF}
(* Notes:

View File

@ -37,6 +37,7 @@ unit FpDbgDwarfDataClasses;
{$mode objfpc}{$H+}
{$ModeSwitch advancedrecords}
{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF}
{$IF FPC_Fullversion=30202}{$Optimization NOPEEPHOLE}{$ENDIF}
{off $DEFINE USE_ABBREV_TMAP}
interface

View File

@ -35,6 +35,7 @@ unit FpDbgUtil;
{$mode objfpc}{$H+}
{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF}
{$IF FPC_Fullversion=30202}{$Optimization NOPEEPHOLE}{$ENDIF}
interface

View File

@ -26,6 +26,7 @@ unit FpPascalParser;
{$mode objfpc}{$H+}
{$IFDEF INLINE_OFF}{$INLINE OFF}{$ENDIF}
{$IF FPC_Fullversion=30202}{$Optimization NOPEEPHOLE}{$ENDIF}
{$TYPEDADDRESS on}
interface

View File

@ -26,6 +26,7 @@
unit FpDebugDebugger;
{$mode objfpc}{$H+}
{$IF FPC_Fullversion=30202}{$Optimization NOPEEPHOLE}{$ENDIF}
{$TYPEDADDRESS on}
{$ModeSwitch advancedrecords}

View File

@ -1,6 +1,7 @@
unit FpDebugDebuggerBase;
{$mode objfpc}{$H+}
{$IF FPC_Fullversion=30202}{$Optimization NOPEEPHOLE}{$ENDIF}
interface

View File

@ -39,6 +39,7 @@ unit FpDebugDebuggerWorkThreads;
*)
{$mode objfpc}{$H+}
{$IF FPC_Fullversion=30202}{$Optimization NOPEEPHOLE}{$ENDIF}
{$TYPEDADDRESS on}
{$ModeSwitch advancedrecords}