Jonas Maebe
128bf046b4
* regenerated Makefiles with LLVM bitcode installation support
...
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
Jonas Maebe
5757ae75b8
* fpcmake & fpmake: support for installing .bc files (LLVM bitcode)
...
git-svn-id: branches/debug_eh@41913 -
2019-04-20 18:56:23 +00:00
Jonas Maebe
cd3e4d26d4
* recognise extra llvm/Xcode versions
...
git-svn-id: branches/debug_eh@41912 -
2019-04-20 18:56:19 +00:00
Jonas Maebe
46efaf4b2c
+ support for -CLflto_nosystem option to perform LTO for everything except
...
for the system unit, as there are several bugs in the Xcode linkers
that trigger when the system unit is involved:
o Xcode 9.3: the second symbol associated with routines that have multiple
symbols (such as FPC_INTERLOCKED*) gets moved to the next routine (so
e.g. calling InterlockedIncrement results in calling InterlockedExchange)
o Xcode 10.1: the linker does not generate native code for the personality
routine (probably because it's not referenced directly anywhere)
git-svn-id: branches/debug_eh@41911 -
2019-04-20 18:56:15 +00:00
Jonas Maebe
fc60ec2ea4
+ support for LLVM LTO: compile units with -CLflto -> when compiling a main
...
program/library also with -Clflto, all units compiled with that option
will be linked using their bitcode files and LTO
o compiling with -CLflto will compile all units twice: once for normal
(static or smart) linking, and once for LTO. So the result can be
used both with and without LTO.
git-svn-id: branches/debug_eh@41910 -
2019-04-20 18:56:11 +00:00
Jonas Maebe
810d0ab2fe
* use $DARWINVERSION functionality to pass Darwin/iOS version to clang when
...
assembling llvm bitcode
git-svn-id: branches/debug_eh@41909 -
2019-04-20 18:56:07 +00:00
Jonas Maebe
2923e484fd
* synchronised with trunk till r41907
...
git-svn-id: branches/debug_eh@41908 -
2019-04-20 18:22:52 +00:00
Jonas Maebe
d150869dea
* record symbols that need to remain in their original order, and on Darwin
...
pass them to the linker so it does not reorder them
o fixes resource strings on Darwin when using LTO (this used to reorder the
resource string symbols, so they no longer all appeared between the START
and END symbols for their compilation module)
git-svn-id: trunk@41907 -
2019-04-20 18:18:10 +00:00
Jonas Maebe
33d57ac646
* replaced TCmdStrListItem getter function with a property
...
git-svn-id: trunk@41906 -
2019-04-20 18:18:07 +00:00
Jonas Maebe
0225a3a39a
* ppudump: fixed reading of ibresource section
...
git-svn-id: trunk@41905 -
2019-04-20 18:18:03 +00:00
Mattias Gaertner
636ae5c01d
pastojs: clean up
...
git-svn-id: trunk@41903 -
2019-04-19 18:12:22 +00:00
Jeppe Johansen
12879adc2f
- Adds intrinsics to save/restore SREG when disabling interrupts.
...
- Adds nostackframe to stack frame investigation stubs.
git-svn-id: trunk@41898 -
2019-04-18 18:26:51 +00:00
Mattias Gaertner
1bb2173939
pastojs: fixed quoted string literal
...
git-svn-id: trunk@41897 -
2019-04-18 14:18:26 +00:00
pierre
ec76e879c9
Integrate patch from bug report 35409.
...
Add possibiliy to throw InternalError
for unhandled case values inside tentryfile,
But avoid adding dependency on verbose unit
as this would break ppudump handling of ppu files.
Add RaiseAssertion virtual method to tentryfile class.
Call RaiseAssertion in tentryfile methods
where an internal error is wanted.
Override RaiseAssertion method in symtype.pas unit
to call InternalError.
Add new class tppudumpfile to override RaiseAssertion
in utils/ppuutils/ppudump.pp unit.
git-svn-id: trunk@41896 -
2019-04-18 14:08:03 +00:00
marco
28c15a95d5
* Mantis 35257 modifyworldtransform, defined with var parameter could also take NIL. Split into straight pointer + redef var overload.
...
git-svn-id: trunk@41893 -
2019-04-18 09:00:42 +00:00
marco
07c21e5128
* and the setters.
...
git-svn-id: trunk@41892 -
2019-04-17 16:01:50 +00:00
marco
e9c2f46172
* fix mantis 35368 and mantis 35369
...
git-svn-id: trunk@41891 -
2019-04-17 15:57:05 +00:00
pierre
6f411d6355
Avoid C 64-bit compiler warnings by using %lu instead of %u for sizeof and offsetof
...
git-svn-id: trunk@41888 -
2019-04-16 22:03:40 +00:00
nickysn
d9c109a4dd
+ added h2paschk structure checker files for the DirectDraw and DirectInput
...
header translations, used by PTCPas.
git-svn-id: trunk@41887 -
2019-04-16 16:45:54 +00:00
Jonas Maebe
a0f850d57f
* synchronised with trunk till r41885
...
git-svn-id: branches/debug_eh@41886 -
2019-04-16 16:20:44 +00:00
Jonas Maebe
b9ddddf9b1
* use ".set" for aliasing global symbols on Darwin, instead of declaring
...
symbols after each other
o removed the .reference hack that was used previously
git-svn-id: trunk@41885 -
2019-04-16 16:11:54 +00:00
Jonas Maebe
e008785152
* insert the hidden parameters for objectdef methods after resolving
...
overrides but before generating the VMT, so that these hidden parameters
are part of the procdefs stored in the VMT (fixes some LLVM type errors
after r41716)
git-svn-id: trunk@41884 -
2019-04-16 16:11:50 +00:00
pierre
8ff0aaa369
Avoid arithmetic overflow inside heaptrc unit on this test
...
git-svn-id: trunk@41883 -
2019-04-16 15:10:40 +00:00
pierre
7b3e027dc8
Move update of fields counting allocated memory to after SysGetMem call
...
git-svn-id: trunk@41882 -
2019-04-16 15:05:13 +00:00
svenbarth
9d10f21b07
* applied patch by Thaddy de Koning to fix Mantis #35378 : correctly declare TNativeIntHelper.MinValue
...
git-svn-id: trunk@41881 -
2019-04-16 09:24:05 +00:00
Jeppe Johansen
44beea91b5
- Fix UTX* optimizations that didn't consider the optional ROR parameter.
...
git-svn-id: trunk@41880 -
2019-04-15 21:52:55 +00:00
nickysn
e2a139ee19
* updated the openbsd tstatfs structure to be compatible with the currently
...
supported openbsd versions (6.3 and 6.4)
git-svn-id: trunk@41878 -
2019-04-15 17:11:13 +00:00
nickysn
924b4c6f10
+ more structures added to the openbsd structure checker file: utimbuf, flock,
...
tms, timezone, rusage, TRLimit and iovec
git-svn-id: trunk@41877 -
2019-04-15 15:02:24 +00:00
Mattias Gaertner
8ff8c05b99
fcl-passrc: clean up
...
git-svn-id: trunk@41876 -
2019-04-15 14:59:46 +00:00
nickysn
f6e13c50a9
+ added pollfd to the openbsd structure checker file
...
git-svn-id: trunk@41875 -
2019-04-15 14:33:33 +00:00
nickysn
9b7cbb0e0b
+ added OpenBSD RTL structure checker description file for use with the h2paschk
...
tool. Currently only checks the stat and dirent structures, but more will be
added in the future.
git-svn-id: trunk@41874 -
2019-04-15 14:22:44 +00:00
Mattias Gaertner
7bc1dd4616
fcl-passrc: fixed searching forward proc in local scope
...
git-svn-id: trunk@41872 -
2019-04-15 08:41:02 +00:00
Jeppe Johansen
53542b7c5e
- Port RISC-V64 startup code to native inline routines.
...
git-svn-id: trunk@41871 -
2019-04-14 23:36:08 +00:00
Jeppe Johansen
2b78a8fd3d
- Add support for .option directive in riscv assembler.
...
- Use addiw when adjusting U32 to S32
git-svn-id: trunk@41870 -
2019-04-14 20:51:29 +00:00
svenbarth
e6add40495
* fix for Mantis #35348 : correctly handle symbols that aren't parameter types (e.g. default values)
...
+ added test
git-svn-id: trunk@41869 -
2019-04-14 20:47:47 +00:00
svenbarth
c147debda1
* ensure that the correct amount of parameters is used for an operator overload (this is essentially important for unary operators that were declared with two arguments)
...
git-svn-id: trunk@41868 -
2019-04-14 20:47:43 +00:00
Jonas Maebe
a7bd37d17a
* synchronised with trunk till r40776
...
git-svn-id: branches/debug_eh@41867 -
2019-04-13 15:16:09 +00:00
Jonas Maebe
349bb2ff38
* check CurrentPPULongVersion in ppumove
...
git-svn-id: trunk@41866 -
2019-04-13 15:12:09 +00:00
Jonas Maebe
927fbc4387
* documented usage of ppuversion and ppulongversion
...
git-svn-id: trunk@41865 -
2019-04-13 14:58:15 +00:00
Mattias Gaertner
b303f5ce63
pastojs: updated year
...
git-svn-id: trunk@41864 -
2019-04-11 10:49:44 +00:00
Mattias Gaertner
25137aef66
pas2js: help
...
git-svn-id: trunk@41863 -
2019-04-11 10:36:34 +00:00
Mattias Gaertner
faf8a5870c
pastojs: handling environment options PAS2JS_OPTS
...
git-svn-id: trunk@41862 -
2019-04-11 10:31:38 +00:00
marco
0d87116b81
* add MB_CANCELTRYCONTINUE and MB*MASK constants. mantis 35244
...
git-svn-id: trunk@41861 -
2019-04-11 08:11:31 +00:00
marco
93a3764cd5
* patch from Bart for mantis 35271 committed. Avoid create directory block when extractfilepath(<filename>) is empty
...
git-svn-id: trunk@41860 -
2019-04-11 08:03:13 +00:00
nickysn
b9e3a0692c
+ added h2paschk.pas to the makefiles
...
git-svn-id: trunk@41859 -
2019-04-10 17:15:40 +00:00
nickysn
47b8bf5924
+ added the initial implementation of my C structure checker code generator
...
tool, named h2paschk. This is currently a separate tool, that requires a
manually crafted input file with a special syntax (example is included as a
comment in the source code), that contains descriptions of all the records
that need to be checked, but it is planned to add support to h2pas to generate
these files automatically, since this would be very useful.
git-svn-id: trunk@41858 -
2019-04-10 17:06:17 +00:00
marco
8564fe7f24
* add readdirectorychangedw (only -W function) mantis 35311
...
git-svn-id: trunk@41857 -
2019-04-10 14:48:27 +00:00
Mattias Gaertner
c3ce3dd911
pastojs: fixed record constructors
...
git-svn-id: trunk@41856 -
2019-04-10 10:51:03 +00:00
michael
61cd2e219d
* Patch from Serge Anvarov to use local time for keyinfo (bug ID 35100)
...
git-svn-id: trunk@41855 -
2019-04-10 09:18:01 +00:00
marco
d5f2764dd3
* readd bottomleft #35350
...
git-svn-id: trunk@41854 -
2019-04-09 13:21:17 +00:00