fpc/compiler/i386/cpunode.pas
sergei 179586f589 + SEH support for Win32. Enable by cycling with OPT=-dTEST_WIN32_SEH.
Although basic things work (no regressions in test suite, also with TEST_OPT=-O2), there are some secondary issues/TODOs:
- Exception frame around PASCALMAIN is not properly removed in DLLs
- No stack traces yet
- Stack overallocated in finalizer procedures, their entry/exit code needs cleanup
- Signals unit is probably completely broken.

git-svn-id: trunk@26225 -
2013-12-12 12:43:46 +00:00

64 lines
1.5 KiB
ObjectPascal

{
Copyright (c) 2000-2002 by Florian Klaempfl
Includes the i386 code generator
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
****************************************************************************
}
unit cpunode;
{$i fpcdefs.inc}
interface
implementation
uses
{ generic nodes }
ncgbas,
ncgld,
ncgflw,
ncgcnv,
ncgmem,
ncgmat,
ncgcon,
ncgcal,
ncgset,
ncginl,
ncgopt,
ncgobjc,
{ to be able to only parts of the generic code,
the processor specific nodes must be included
after the generic one (FK)
}
nx86set,
nx86con,
nx86cnv,
n386add,
n386cal,
n386mem,
n386set,
n386inl,
{$ifdef TEST_WIN32_SEH}
n386flw,
{$endif TEST_WIN32_SEH}
n386mat
;
end.