Sven/Sarah Barth 749faa42ee * do not insert the $result symbol again when the VMT for the capturer is built 3 年 前
..
aarch64 81fd3e2748 * more readable fix for the missing ait_instruction check 3 年 前
arm 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 年 前
armgen a6921fff7b + Aarch64: SxthSxtw2Sxth optimization 3 年 前
avr bce88f2e2b * AVR: trgcpu.do_spill_read must load ofs 3 年 前
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 年 前
html fa0d3d79e0 no message 23 年 前
i386 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 年 前
i8086 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 年 前
jvm 7de854ef1e + add method register_implemented_interface to tobjectdef which registers an implemented interface and - if desired - also initializes the GUID related fields of the objectdef 3 年 前
llvm 088c746d45 * reset written source lines once a section is encountered 3 年 前
m68k 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 年 前
mips 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 年 前
msg a0171e4335 + add an error message for when a symbol can't be captured 3 年 前
powerpc 088c746d45 * reset written source lines once a section is encountered 3 年 前
powerpc64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 年 前
ppcgen 629c1de460 TOC handling: clean up 3 年 前
riscv c2c7982a22 Fix check that third parameter of ADDI hp1 instruction is a constant 4 年 前
riscv32 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 年 前
riscv64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 年 前
sparc 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 年 前
sparc64 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 年 前
sparcgen 03f4685455 + sanity checks in mips and sparc register allocator 3 年 前
systems 9f47e21da3 * increase default dwarf version for linux targets where current distributions exist 3 年 前
utils 4dbdb4f0f1 + initial support for anonymous functions, for now as essentially nested functions 3 年 前
wasm32 66b471e516 + support different versions of llvm-mc (version 10 seems to be the earliest that works) 3 年 前
x86 088c746d45 * reset written source lines once a section is encountered 3 年 前
x86_64 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 年 前
xtensa 27fb9086aa * cleanup: cs_opt_loopunroll is a generic optimization for a long time already 3 年 前
z80 088c746d45 * reset written source lines once a section is encountered 3 年 前
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 年 前
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 年 前
Makefile 8c562995d7 * regenerate makefiles with latest fpcmake 3 年 前
Makefile.fpc 8512d7ac8f Add x86_64 CPU to list requiring fpux80 support 3 年 前
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 年 前
aasmbase.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs 3 年 前
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 年 前
aasmcnst.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs 3 年 前
aasmdata.pas d0bf7acc18 llvmdbg: build hashtable to lookup llvmdecl belonging to a global variable 3 年 前
aasmdef.pas 04984e9af9 * also generate indirect symbols for AB_PRIVATE_EXTERN symbols as these might be used from a unit in another package due to inlining 5 年 前
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 年 前
aasmtai.pas 8817e896db Add missing reference increases for ait_jvar labels 3 年 前
aggas.pas 088c746d45 * reset written source lines once a section is encountered 3 年 前
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 年 前
aoptbase.pas 1f8a9c708e * use RegistersInterfere instead of SuperRegistersEqual in TAoptBase.RegInOp and TAoptBase.RegInRef 5 年 前
aoptda.pas b1dff29cbf * removed unused units 8 年 前
aoptobj.pas 627fb9a25b * x86: New jump/label tracking in CrossJump optimisations 3 年 前
aoptutils.pas bae583118a * patch by J. Gareth Moreton: x86 JccMovJmpMov2MovSetcc improvement, resolves #38761 4 年 前
assemble.pas 6ac50f4100 + add method ResetSourceLines to TExternalAssembler to reset already written lines 3 年 前
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 年 前
browcol.pas 1a9e246c29 * added is_normal_fieldvarsym() helper and use it 5 年 前
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 年 前
ccharset.pas cb44d7d4e2 * some cleanup 5 年 前
cclasses.pas 986a6feb95 Allocate THashSet item and its key together when FOwnKeys=true. 3 年 前
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 年 前
cfidwarf.pas ca399f3c71 * don't generate high-level CFI statements when the selected assembler 4 年 前
cfileutl.pas e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS 5 年 前
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 年 前
cgbase.pas 8006900e8e - clean up 4 年 前
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 年 前
cghlcpu.pas 67b8aceaee * synchronized with privatetrunk till r30095 10 年 前
cgobj.pas 67a1d52806 JccAdd2SetccAdd modified to make use of GetIntRegisterBetween 3 年 前
cgutils.pas 9b4033fa80 Fast mod 3 年 前
cmsgs.pas a34f531661 + implemented support for codepage aware compiler messages. It can be enabled 8 年 前
comphook.pas 4b157a1498 + print full file path if -vb is passed even if no line number is known, resolves #39419 3 年 前
compiler.pas 88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper 3 年 前
compinnr.pas 54299874d3 + implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc 4 年 前
comprsrc.pas 971d7baa8a * patch by Cyrax: Quote path - which is passed to Windres or alike program, resolves #36526 3 年 前
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 年 前
constexp.pas a6d6f93887 * revert accidently committed code 3 年 前
cprofile.pas 6612bb4434 * proper naming 5 年 前
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 年 前
cresstr.pas f1bcd02aaf Typed const builder: store tsym 3 年 前
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 年 前
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 年 前
cutils.pas 74ab27ae47 cutils: also use minalign, when varalign equals it, not only when varalign is less than it (21 years old bug?) 3 年 前
dbgbase.pas d294731542 LLVM: enable DWARF debug info generation 3 年 前
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 年 前
dbgdwarf.pas 4da1ad71a4 * moved a bunch of constants from dbgdwarf to dbgdwarfconst 3 年 前
dbgdwarfconst.pas 4da1ad71a4 * moved a bunch of constants from dbgdwarf to dbgdwarfconst 3 年 前
dbgstabs.pas 7f886cc4b0 Call increfs manually to avoid removal of stabs debug related labels 3 年 前
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 年 前
defcmp.pas 47d7520b32 * consider invokables as related when they're equal 3 年 前
defutil.pas a20bfc0753 + add utility function to check whether an invokable can be invoked without explicit parameters 3 年 前
dirparse.pas 93be88b270 * reverted r47862 4 年 前
dwarfbase.pas 6817cea33b + missing unit 6 年 前
elfbase.pas 245b58c249 + support for arm attributes 5 年 前
entfile.pas e9e8013316 + some basic stuff for MIPS64 3 年 前
export.pas b1dff29cbf * removed unused units 8 年 前
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 年 前
finput.pas 243c967967 Commit of new debug feature implemented by J. Gareth Moreton 6 年 前
fmodule.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 年 前
fpcdefs.inc 00a287e77d Fix compilation of mips64 compiler by simple use of 'make mips64' 3 年 前
fpchash.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 年 前
fpcp.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 年 前
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 年 前
fppu.pas 85c648e603 Check mf_symansistr is compatible with current compiler mode and issue a message before failing PPU loading 3 年 前
gendef.pas 3af74d2fd2 + implement initial compiler support for Win64 on Aarch64 5 年 前
globals.pas e9e8013316 + some basic stuff for MIPS64 3 年 前
globstat.pas 04bbfd1746 * fix for Mantis #27378: save and (more importantly) restore verbosity when switching a unit 6 年 前
globtype.pas 4e4d268963 + add modeswitch for anonymous functions 3 年 前
hlcg2ll.pas 67d80d414b * do not copy parameters onto the stack using FPU registers if the type is 3 年 前
hlcgobj.pas 6f24c8b4ef * x86: Code generation fixes where FLAGS 3 年 前
htypechk.pas 2be8f01efe * implement assignment of anonymous functions to procedure or method variables if they either capture nothing or (in case of method variables) at most the Self variable 3 年 前
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. 11 年 前
import.pas b1dff29cbf * removed unused units 8 年 前
ldscript.pas d79511f96e + Basic ld script parsing capabilities (barely enough to parse glibc2.1 'libc.so' files, lacks any error handling). 13 年 前
link.pas 59fca3a01d * Increased the bounds of TBooleanArray to prevent a range check error while linking Lazarus. 3 年 前
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 年 前
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 年 前
msgidx.inc 0e0739a64f * regenerate msg{idx,txt}.inc 3 年 前
msgtxt.inc 0e0739a64f * regenerate msg{idx,txt}.inc 3 年 前
nadd.pas 60c967f255 Optimized the comparison of a widestring variable with '' 3 年 前
nbas.pas 3e98429418 Revert " * patch by J. Gareth Moreton: Nothing (NOP) node optimisation, resolves #38194" 4 年 前
ncal.pas cdf676c9b5 * a function also captures other nested functions when these are called 3 年 前
ncgadd.pas bbece3e668 * MIPS64 can 3 年 前
ncgbas.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 年 前
ncgcal.pas 8d864559b7 * overleft cosmetics 3 年 前
ncgcnv.pas 940ac567a5 * Patch by J. Gareth "Kit" Moreton (issue #39343). Added missing allocation 4 年 前
ncgcon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 3 年 前
ncgflw.pas b78761efd3 * Removed obsolete OLDREGVARS ifdefs. 3 年 前
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 年 前
ncginl.pas c59b6a5d8d * High() and Length() for dynamic arrays deal with sizesinttype instead of ossinttype (on AVR the former is 16-bit while the later is 8-bit thus this is an important distinction) 3 年 前
ncgld.pas 0a383d8c0f * fixed WebAssembly method pointer assignment 3 年 前
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 年 前
ncgmem.pas a5f6505edc * fix range checking for zero based strings, resolves #39323 4 年 前
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 6 年 前
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 年 前
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 年 前
ncgobjc.pas b1dff29cbf * removed unused units 8 年 前
ncgopt.pas b1dff29cbf * removed unused units 8 年 前
ncgrtti.pas 1e37eef3d2 * use an anonymous symbol for the record operator table as its typing is different for each incarnation anyway 3 年 前
ncgset.pas c06a3f2ca3 Avoid range check error inside tcgcasenode.pass_generate_code method 3 年 前
ncgutil.pas 5ca2356638 * take care of po_noreturn in more cases 4 年 前
ncgvmt.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 年 前
ncnv.pas 2be8f01efe * implement assignment of anonymous functions to procedure or method variables if they either capture nothing or (in case of method variables) at most the Self variable 3 年 前
ncon.pas a285500d36 * patch by Rike: Use reverse_longword instead of manually reversing longword, resolves #39720 3 年 前
nflw.pas 815734c47a * fix #32034 and fix #39656: in a for-in-loop with an array constructor enforce the type of the loop variable for the elements 3 年 前
ngenutil.pas 2cc621618a * Delphi-mode calling without parenthesis 3 年 前
ngtcon.pas 6a9b4a1b13 + apply patch by Blaise.ru: allow initialisation of method pointers with class methods (when class types are 3 年 前
ninl.pas 5acd7a7b83 Rename tsymtable.insert and delete methods to insertsym ands deletesym 3 年 前
nld.pas 2be8f01efe * implement assignment of anonymous functions to procedure or method variables if they either capture nothing or (in case of method variables) at most the Self variable 3 年 前
nmat.pas 02289d1f5b + fold "a shl n1 shl n2" and "a shr n1 shr n2" into "a shl (n1+n2)" and "a shr (n1+n2)", resolves #39629 3 年 前
nmem.pas 43b4b34395 * disallow offsetof trick for types involving implicit dereferences, resolves #39667 partially 3 年 前
nobj.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 年 前
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 年 前
node.pas d96600a02d * Removed unused and confusing tnode.parent and tnode.concattolist(). 3 年 前
nopt.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 年 前
nset.pas 3094f75690 * WebAssembly code generation for 'case' nodes changed to use labels 3 年 前
nutils.pas 2cc621618a * Delphi-mode calling without parenthesis 3 年 前
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 年 前
objcdef.pas b1dff29cbf * removed unused units 8 年 前
objcgutl.pas f6c741ee73 * Corrected label reference counts caused by TAsmLabel.GetName incrementing refs 3 年 前
objcutil.pas b1dff29cbf * removed unused units 8 年 前
ogbase.pas e26b298885 * patch by Rika: Better Align()'s #2, resolves #39512 3 年 前
ogcoff.pas 77e3a402da Set string length before calling move to avoid problems with global data analysis on systems using C library 4 年 前
ogelf.pas 17e3c31b7e Fix gotpcrel relocation for TESTQ x86_64 instruction 4 年 前
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 年 前
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 年 前
ogmap.pas a5ab1c03ea * avoid 8-bit truncation of the sizes in the internal linker map 5 年 前
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 年 前
ogomf.pas cc3cbbb7b9 * fix x86 compilation after my last commit 3 年 前
ogrel.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 年 前
ogwasm.pas 0c6287894b * the WebAssembly internal assembler renamed WASM (previously it was OMF, which was the ID of the MS-DOS .obj writer, which I forgot to rename) 3 年 前
omfbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 年 前
optbase.pas b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children 5 年 前
optconstprop.pas 4c8e802dd3 * continue const. propagation after a for loop when possible 3 年 前
optcse.pas 5921fa9a62 + store references to global variables in registers if benefical (currrently used for aarch64 only) 3 年 前
optdead.pas b1dff29cbf * removed unused units 8 年 前
optdeadstore.pas 08817f1aed * fixes to deadstore optimization 4 年 前
optdfa.pas 0634d5349d * add const 3 年 前
options.pas 16cb409fbf LLVM: separate as_clang_llvm_darwin 3 年 前
optloadmodifystore.pas 07698050e5 * Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then. 4 年 前
optloop.pas 7388735b11 * Strength reduction optimization: - Use a temp for complex loop start values to prevent double evaluation. 3 年 前
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 年 前
optutils.pas 92771760b7 Get rid of some global variables. 3 年 前
optvirt.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 年 前
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 年 前
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 年 前
owomflib.pas e49025a086 More -CriotR fixes: 6 年 前
parabase.pas b777dc21d7 * fix PowerPC compilation 5 年 前
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 年 前
parser.pas c3fb1e3a65 * initialize current_settings as early as possible so cs_debugswitch is set correctly if needed 4 年 前
pass_1.pas 9d95e6159e * fix typo in comment 3 年 前
pass_2.pas 8b7c5666a2 * Renamed fc_block_with_exit to fc_no_direct_exit to expand its usage. 4 年 前
pbase.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 年 前
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 年 前
pdecl.pas 533a11ec80 * correctly handle calling convention for function references 3 年 前
pdecobj.pas 7de854ef1e + add method register_implemented_interface to tobjectdef which registers an implemented interface and - if desired - also initializes the GUID related fields of the objectdef 3 年 前
pdecsub.pas 92082ab28f * correctly handle directives for anonymous functions 3 年 前
pdecvar.pas 533a11ec80 * correctly handle calling convention for function references 3 年 前
pexports.pas d854d18bd9 * instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr" 4 年 前
pexpr.pas 4dbdb4f0f1 + initial support for anonymous functions, for now as essentially nested functions 3 年 前
pgentype.pas 2a5023508a + add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128 3 年 前
pgenutil.pas 897f0e1784 * if a symbol is not part of a symtable then assume it's from the current module 3 年 前
pinline.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 年 前
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 年 前
pmodules.pas ddba001b65 * ensure that nested functions of main program, main program finalization and unit initialization/finalization are generated 3 年 前
pp.lpi 867786c953 * update version 5 年 前
pp.pas 78f23a462e * set minimum compiler to compile the compiler to 3.2.0 3 年 前
pparautl.pas 749faa42ee * do not insert the $result symbol again when the VMT for the capturer is built 3 年 前
ppc68k.lpi 8192bf1b33 * version update 4 年 前
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 年 前
ppcaarch64.lpi 1a559f5c60 * move the homogenous float aggregate determination function to a common 6 年 前
ppcarm.lpi 5573bee314 + makefiles use -Sew, so added to the project as well 5 年 前
ppcavr.lpi b9d4240a8d + version update 7 年 前
ppcjvm.lpi 95bed362ba [PATCH 02/83] updating common FPC sources for WASM target 5 年 前
ppcmips.lpi 9ebf2aa984 * project file updates 13 年 前
ppcmips64el.lpi 9710b2cbb4 + some basic stuff for mips64el 5 年 前
ppcmipsel.lpi 9ebf2aa984 * project file updates 13 年 前
ppcppc.lpi 18a45d94a3 * version update 6 年 前
ppcppc64.lpi 9ebf2aa984 * project file updates 13 年 前
ppcppc64le.lpi e60a367f1b + project file for PowerPC64LE 4 年 前
ppcriscv32.lpi 44150f43ac * RISC-V 32 compilation fixed 7 年 前
ppcriscv64.lpi 65a415c13e * fix assembling with official binutils 7 年 前
ppcsparc.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 年 前
ppcsparc64.lpi 188ec0f0c7 + basics for sparc64 support, we continue to use the name "sparc" for sparc32, both sparc are identified by sparcgen (dirs, defines etc.) 8 年 前
ppcwasm32.lpi bc76487b87 + enable the WebAssembly internal assembler and object writer 4 年 前
ppcx64.lpi 2f36069dae bugfix 0037785 cvtsi2ss and cvtsi2sd in x86_64 { att} 4 年 前
ppcx64llvm.lpi cd9e18fab4 * made lazarus project names more systematic 7 年 前
ppcxtensa.lpi 27349661e0 + Xtensa: lazarus project 5 年 前
ppcz80.lpi 1263880ef0 - removed the z80_internal_linker build mode from the lazarus project 5 年 前
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 年 前
ppu.pas 30a7199165 * make the VMT symbol and type def of the corresponding class or object instead of having them be global 3 年 前
procdefutil.pas 9aac622dc9 + add necessary core functions and functionality to implement capturing of variables 3 年 前
procinfo.pas d56a90e5ed * keep track of symbols that are accessed from a nested/anonymous function that belong to a surrounding scope 3 年 前
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 年 前
pstatmnt.pas 5acd7a7b83 Rename tsymtable.insert and delete methods to insertsym ands deletesym 3 年 前
psub.pas 4dbdb4f0f1 + initial support for anonymous functions, for now as essentially nested functions 3 年 前
psystem.pas 5acd7a7b83 Rename tsymtable.insert and delete methods to insertsym ands deletesym 3 年 前
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed 5 年 前
ptype.pas 6299e94c8f * set the type symbol of the procvar while it is parsed so that a function reference can have itself as part of the parameters or the return type 3 年 前
raatt.pas 4f9c19d943 * simplifications by Rika (*2 loops => shl/Bsr), resolves #39717 3 年 前
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 年 前
rasm.pas 46fe2d486c * forgotten comment 7 年 前
rautils.pas bcab6185b9 * hopefully final fix for absolute references to absolute symbols 3 年 前
rescmn.pas b88d12c7b9 + add option -FF to force the use of fpcres as RC compiler 5 年 前
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 年 前
rgobj.pas 4f9c19d943 * simplifications by Rika (*2 loops => shl/Bsr), resolves #39717 3 年 前
scandir.pas 54dccaaad1 * do not crash in case of too many $push directives, resolves #39652 3 年 前
scanner.pas 5acd7a7b83 Rename tsymtable.insert and delete methods to insertsym ands deletesym 3 年 前
switches.pas be0d51d64c * allow $MinEnumSize, $PackSet and $PackRecords to be used with $Push and $Pop 7 年 前
symbase.pas 8184287ec0 Fix for variables longer than 127 chars 3 年 前
symconst.pas 4dbdb4f0f1 + initial support for anonymous functions, for now as essentially nested functions 3 年 前
symcreat.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 年 前
symdef.pas 9aac622dc9 + add necessary core functions and functionality to implement capturing of variables 3 年 前
symsym.pas b297199ab6 + add a field to denote that a symbol (mainly local and parameter ones) was captured through another symbol 3 年 前
symtable.pas 3eac88eeaf * protected symbols are visible for defs declared in a local symtable as well 3 年 前
symtype.pas eaeb614887 + provide a tsym based variant of ChangeOwnerAndName 3 年 前
symutil.pas 5acd7a7b83 Rename tsymtable.insert and delete methods to insertsym ands deletesym 3 年 前
syscinfo.pas 568d4de77e * aros64: recent developments hanged the library call ABI, lets try to follow it (aros64 is experimental) 3 年 前
systems.inc 66b471e516 + support different versions of llvm-mc (version 10 seems to be the earliest that works) 3 年 前
systems.pas 16cb409fbf LLVM: separate as_clang_llvm_darwin 3 年 前
tgobj.pas f7239e03e7 * make tgobj.pas less verbose in extdebug mode, use separate define DEBUG_FREETEMP for the really 3 年 前
tokens.pas c78e9557f8 * Added support for the old Turbo Pascal INLINE(data/data/...) statement. 4 年 前
triplet.pas eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm 5 年 前
verbose.pas 3ca3c7a606 - remove duplicate paraprintnodetree to ensure that there the right paraprintnodetree is used (namely the one from globals) 3 年 前
version.pas d147533c94 Remove "r" from FPC revision. 4 年 前
wasmbase.pas b463f2a141 + added support for exception tags and for the 'throw' and 'catch' instructions 4 年 前
widestr.pas cb44d7d4e2 * some cleanup 5 年 前
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from 16 年 前
wpobase.pas 5df9b994d1 * fix warnings which were caused by last changes to for node generation 8 年 前
wpoinfo.pas b1dff29cbf * removed unused units 8 年 前

README.txt

This directory contains the sources of the Free Pascal Compiler

If you want to compile/modify the compiler, please read first the
programmers manual.

To recompile the compiler, you can use the batch files :
+ mppc386.bat if you want to build a cross compiler from i386 to m68k
+ mppcsparc if you want to build a cross compiler from i386 to SPARC

or
Use the make utility as following

make OS_TARGET="compiler OS target" \
CPU_TARGET="compiler CPU target" \
FPCCPUOPT="Optimization level" \
PP="compiler used to compile FPC" \
COMPILER_OPTIONS="Options passed to compiler" \


If an option is omitted, then target CPU/OS will be same as current CPU/OS

Possibles targets are : linux go32v2 win32 os2 freebsd beos netbsd amiga haiku
atari sunos qnx netware openbsd wdosx palmos macos macosx emx

Possible compiler switches (* marks a currently required switch):
-----------------------------------------------------------------
GDB* support of the GNU Debugger
I386 generate a compiler for the Intel i386+
x86_64 generate a compiler for the AMD x86-64 architecture
M68K generate a compiler for the M68000
SPARC generate a compiler for SPARC
POWERPC generate a compiler for the PowerPC
VIS generate a compile for the VIS
DEBUG version with debug code is generated
EXTDEBUG some extra debug code is executed
SUPPORT_MMX only i386: releases the compiler switch
MMX which allows the compiler to generate
MMX instructions
EXTERN_MSG Don't compile the msgfiles in the compiler, always
use external messagefiles, default for TP
NOAG386INT no Intel Assembler output
NOAG386NSM no NASM output
NOAG386BIN leaves out the binary writer, default for TP
NORA386DIR No direct i386 assembler reader
TEST_GENERIC Test Generic version of code generator
(uses generic RTL calls)
-----------------------------------------------------------------
cpuflags The target processor has status flags (on by default)
cpufpemu The target compiler will also support emitting software
floating point operations
cpu64bitaddr The targets use a 64-bit address space (pointers and
the default integer type are 64 bit)
cpu64bitalu The target cpu has 64-bit registers available (unless
cpu64bitaddr is also defined, pointers and default
integer type remain 32 bit, but the cpu can perform
64 bit calculations directly without needing helpers)
-----------------------------------------------------------------

Required switches for a i386 compiler be compiled by Free Pascal Compiler:
GDB;I386

to build a compiler to SPARC target using a Win32/i386 you just use :
make CPU_TARGET=SPARC