Re: [fpc-devel] register calling convention for Apple M1 ?

2022-02-16 Thread Jonas Maebe via fpc-devel
On 16/02/2022 21:21, Dmitry Boyarintsev via fpc-devel wrote: On Wed, Feb 16, 2022 at 3:17 PM Martin Frb via fpc-devel mailto:fpc-devel@lists.freepascal.org>> wrote: Anything similar on M1? should it be ARM64 calling convention? https://en.wikipedia.org/wiki/Calling_convention#ARM_(A64)

Re: [fpc-devel] register calling convention for Apple M1 ?

2022-02-16 Thread Martin Frb via fpc-devel
On 16/02/2022 21:21, Dmitry Boyarintsev via fpc-devel wrote: On Wed, Feb 16, 2022 at 3:17 PM Martin Frb via fpc-devel wrote: Anything similar on M1? should it be ARM64 calling convention? https://en.wikipedia.org/wiki/Calling_convention#ARM_(A64) Possible. I have a bit of disassembly,

Re: [fpc-devel] register calling convention for Apple M1 ?

2022-02-16 Thread Dmitry Boyarintsev via fpc-devel
On Wed, Feb 16, 2022 at 3:17 PM Martin Frb via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > Anything similar on M1? > should it be ARM64 calling convention? https://en.wikipedia.org/wiki/Calling_convention#ARM_(A64) ___ fpc-devel maillist - fp

[fpc-devel] register calling convention for Apple M1 ?

2022-02-16 Thread Martin Frb via fpc-devel
Trying to get the IDE lldb based debugger to work on M1 But I don't have M1 myself, so ... When procedure fpc_Raiseexception (Obj : TObject; AnAddr : CodePointer; AFrame : Pointer); compilerproc; is entered, the IDE tries to get the arguments. In normal user installs this code has no d