Commit Graph

54712 Commits

Author SHA1 Message Date
florian
32121de8ae * do not call InitTLS when a compiler is used which does not include the abi tag section
git-svn-id: trunk@40468 -
2018-12-04 21:25:48 +00:00
Jonas Maebe
8846041b23 * use volatile() to prevent wrong optimizations by llvm
git-svn-id: trunk@40466 -
2018-12-04 19:53:23 +00:00
Jonas Maebe
122d0d36d6 + volatile() expression that marks an expression as volatile
* disable matching volatile references in the assembler optimisers, so they
    can't be removed (more conservative than needed, but better than removing
    too many)
   o the CSE optimiser will ignore them by default, because they're an unknown
     inline node for it
  * also removed no longer used fpc_in_move_x and fpc_in_fillchar_x inline node
    identifiers from rtl/inc/innr.inc, and placed fpc_in_unaligned_x at the
    right place

git-svn-id: trunk@40465 -
2018-12-04 19:53:20 +00:00
Jonas Maebe
b7da7cd654 * ensure the generic version of tcgshlshrnode gets used for llvm
git-svn-id: trunk@40464 -
2018-12-04 19:53:16 +00:00
Jonas Maebe
2109612fa3 - disable cs_opt_use_load_modify_store because for llvm because it is
apparently buggy as far as type information is concerned, and it also
    results in tons of spilling

git-svn-id: trunk@40463 -
2018-12-04 19:53:13 +00:00
yury
1cc3c199c8 * pas2jni: TClass helper must be generated only for the system unit.
git-svn-id: trunk@40462 -
2018-12-04 13:07:05 +00:00
michael
78b3b8ee4e * Modifications so it compiles for target browser
git-svn-id: trunk@40461 -
2018-12-03 21:46:36 +00:00
michael
1fba127e21 * Fix tests after latest batch of changes
git-svn-id: trunk@40460 -
2018-12-03 19:42:25 +00:00
Mattias Gaertner
8b912d0fea pastojs: restored test built-in debugger;
git-svn-id: trunk@40459 -
2018-12-03 16:43:47 +00:00
Mattias Gaertner
ada75392aa pas2js: lpi removed default suite
git-svn-id: trunk@40458 -
2018-12-03 16:43:10 +00:00
Mattias Gaertner
3c8c833234 pastojs: restored built-in function debugger
git-svn-id: trunk@40457 -
2018-12-03 16:41:45 +00:00
Mattias Gaertner
ca7d187654 pastojs: restored built-in function debugger
git-svn-id: trunk@40456 -
2018-12-03 16:23:55 +00:00
michael
ec782c522e * No more basedir
git-svn-id: trunk@40455 -
2018-12-03 08:51:08 +00:00
florian
eeadf618b8 + abi tag for i386
* arm abi tag moved into pascal file

git-svn-id: trunk@40454 -
2018-12-02 22:56:12 +00:00
Károly Balogh
6629e72d79 m68k: reinstate the inc/dec tempregister type hack again in an isolated way (it was removed in r40385, as it was breaking llvm target)
git-svn-id: trunk@40453 -
2018-12-02 18:54:04 +00:00
michael
b9905f6a2c * Instantiate FS compiler
git-svn-id: trunk@40452 -
2018-12-02 18:44:34 +00:00
michael
2c7f401bf7 * Instantiate PCU compiler
git-svn-id: trunk@40451 -
2018-12-02 18:44:21 +00:00
michael
07f98847ca * Refactored so compiler itself is filesystem agnostic
git-svn-id: trunk@40450 -
2018-12-02 18:41:38 +00:00
florian
90557f2e62 * properly calcualte aligncount as proposed by Jeppe, should resolve #33323
git-svn-id: trunk@40449 -
2018-12-02 14:49:24 +00:00
florian
31ae109a31 * properly initialize phdr and phnum
git-svn-id: trunk@40448 -
2018-12-02 08:49:03 +00:00
michael
e8a8046d3e * Moved LoadUsedUnit from compilerfile to compiler
git-svn-id: trunk@40447 -
2018-12-02 08:27:05 +00:00
michael
99c5c79327 * Move finding unit to compiler instead of Compilerfile
git-svn-id: trunk@40446 -
2018-12-02 08:08:01 +00:00
Jonas Maebe
e8512d19b5 * set constalignmax to the same value as varalignmax for all targets where
constalignmax was lower (which does not make sense)

git-svn-id: trunk@40443 -
2018-12-01 23:07:09 +00:00
Jonas Maebe
95d79296bd * fixed alignment of tfiledef (same as corresponding file recorddef)
* cap set alignment to sizeof(aint)

git-svn-id: trunk@40442 -
2018-12-01 23:07:05 +00:00
michael
b84e02b0a9 * Fix compilation with debug output defines
git-svn-id: trunk@40441 -
2018-12-01 23:05:07 +00:00
michael
333b4f3193 * Move everything not related to file searching from cache to compiler
git-svn-id: trunk@40440 -
2018-12-01 22:11:49 +00:00
michael
a3337afa98 * Move InsertJSFiles to compiler
git-svn-id: trunk@40439 -
2018-12-01 21:06:59 +00:00
michael
92c07633c2 * Move things out of resolver, into filecache
git-svn-id: trunk@40430 -
2018-12-01 19:40:32 +00:00
michael
d560b9a15d * FindIncludeFile virtual
git-svn-id: trunk@40429 -
2018-12-01 19:39:44 +00:00
michael
5059824f44 * Fix tests so they run on any system
git-svn-id: trunk@40428 -
2018-12-01 19:04:13 +00:00
michael
aa956d2f70 * Refactor so PCU support is separated out
git-svn-id: trunk@40427 -
2018-12-01 19:03:41 +00:00
michael
4d165e542d * Split resolver in baseresolver & resolver
git-svn-id: trunk@40426 -
2018-12-01 18:59:31 +00:00
pierre
67fe756642 Regenerate msgid and msgtxt include files after commit 40422
git-svn-id: trunk@40425 -
2018-12-01 16:18:58 +00:00
michael
4091e31c4f * Rename FindUnitWithName -> FindLoadedUnit
git-svn-id: trunk@40424 -
2018-12-01 08:54:34 +00:00
michael
77446cfe07 * Remove knowledge of directorycache from compiler
git-svn-id: trunk@40423 -
2018-12-01 08:49:04 +00:00
marco
b60cbf3329 * systematically capitalize first word of errormsg/sentence, patch by J. Gareth Moreton, mantis 34618
git-svn-id: trunk@40422 -
2018-11-30 11:21:50 +00:00
Jonas Maebe
758a8dd34a * fixed dwarf debug info after r40398 (mantis #34622)
git-svn-id: trunk@40421 -
2018-11-29 23:21:15 +00:00
Jonas Maebe
50ab607676 + customint torddef type to create arbitraty bit-width integers
o use this to handle non-power-of-two-sized parameters for llvm
   o no general support in the parser/code generator, so don't expose

git-svn-id: trunk@40398 -
2018-11-29 20:57:08 +00:00
pierre
a1fbde242d Fix cleaning of unicode utils package in fpmake
git-svn-id: trunk@40397 -
2018-11-29 16:55:07 +00:00
michael
f051e1b8dc * Add Payload event
git-svn-id: trunk@40396 -
2018-11-29 15:42:06 +00:00
michael
a49c17fb7d * Allow redirect to local URL (patch by Michal GawRycki, bug ID #34595)
git-svn-id: trunk@40395 -
2018-11-29 15:37:16 +00:00
michael
090141a69c * Allow to retrieve argument size, patch by Silvio Clecio (bug ID 34611)
git-svn-id: trunk@40394 -
2018-11-29 15:34:00 +00:00
michael
818624559d * Fix bug #34538, AV in case of invalid method (patch by chmod222)
git-svn-id: trunk@40393 -
2018-11-29 15:21:50 +00:00
pierre
810b37a877 Fix delete of gdbver.inc generated file after gdbint unit compilation when called from packages level
git-svn-id: trunk@40392 -
2018-11-29 14:23:44 +00:00
pierre
101ce4d37b Add several missing unit references in fpmake files
git-svn-id: trunk@40391 -
2018-11-28 23:45:35 +00:00
pierre
9f68bddf3b Document -d --debug option, and change short version of --doc-folder to -df as -d is already used by debug option
git-svn-id: trunk@40390 -
2018-11-28 23:24:33 +00:00
pierre
8db29007ff Add listing of unremoved files during clean with -d (vlDebug) option
git-svn-id: trunk@40389 -
2018-11-28 23:16:31 +00:00
pierre
ddcd46b4be * Change "Clean of package %S completed" level from vlWarning to vlInfo,
to be at same level as "Cleaning pacakge %s" message.
  * Transform "Searching dir" writeln in SearchFiles into a vlDebug level log call.
  + Add manifest.xml to the list of files to remove.
  * Only do something in TBuildEngine.Clean method if AllTargets is true
    or if CPU-OS is supported for APackage parameter.

git-svn-id: trunk@40388 -
2018-11-28 22:11:29 +00:00
Jonas Maebe
63847f1948 * disable explicitly calling class constructors on the JVM platform, as that
is forbidden there

git-svn-id: trunk@40386 -
2018-11-28 19:23:34 +00:00
Jonas Maebe
026d06cffb - reverted r39188, as this hack removes the type correctness of the
instructions, which breaks the llvm code generator. Put such hacks
    in CPU-specific overrides

git-svn-id: trunk@40385 -
2018-11-28 19:23:31 +00:00