Commit Graph

3804 Commits

Author SHA1 Message Date
Jonas Maebe
49cb7b2564 LLVM: use llvm.dbg.declare instead of llvm.dbg.addr for variable declarations
Even though it's supposedly deprecated, clang also still uses it and without
the declaration ranges of local variables are sometimes cut off
2023-12-06 22:57:16 +01:00
Michaël Van Canneyt
7e4aca384f * Some delphi compatibility issues solved (PtrToNil and TGUID operator) 2023-11-29 14:34:27 +01:00
Michaël Van Canneyt
7bd8ac25d4 * Regen Makefiles with correct defines for some lineinfo units 2023-11-08 18:15:52 +01:00
Michaël Van Canneyt
ebed69e858 * Fix name of lineinfo 2023-11-08 17:12:37 +01:00
Michaël Van Canneyt
ab3b7f8f69 * Do not use namespace prefix for lnfodwarf 2023-11-08 17:08:03 +01:00
Michaël Van Canneyt
2f9c1e8be4 * line info may not use namespaces, referenced in compiler 2023-11-08 17:06:19 +01:00
Rika Ichinose
854d944cfa Faster string concatenations. 2023-11-05 14:59:42 +00:00
Michaël Van Canneyt
2ad272f03f * Correct dependency of (System.)Character, or resulting unit is unusable 2023-11-02 12:10:36 +01:00
Michaël Van Canneyt
038f054bdc * Add varUInt32 alias for delphi compatibility 2023-11-01 21:38:55 +01:00
Michaël Van Canneyt
80d471a9f1 * Add HINST for Delphi compatibility 2023-11-01 21:38:55 +01:00
Rika Ichinose
0d3d4918b3 Don’t allow generic fpc_pchar_length to arbitrarily over-read. 2023-11-01 20:04:40 +00:00
Rika Ichinose
8d1d763a1a Don’t use local shortstring in generic fpc_pchar_to_shortstr, move directly to the destination. 2023-11-01 20:04:40 +00:00
florian
b2a13077c0 * redefine also PPChar and PPPChar depending on the string type mode, resolves #40491 2023-10-31 23:13:22 +01:00
Michaël Van Canneyt
6045b3a6bd * Add Delphi-compatible DisposeOf and friends. 2023-10-30 09:17:01 +01:00
Pierre Muller
b317f47029 Set SYSTEMUNIT variable globally inside inc/Makefile.rtl 2023-10-09 01:02:28 +02:00
Pierre Muller
b9544ad342 Add SYSTEMDIR variable (needed for BSD OSes) 2023-09-29 17:44:34 +02:00
Pierre Muller
a6353fecf0 Add tthread.inc dependency for classes unit using TTHREADINCDIR variable 2023-09-26 23:52:37 +02:00
Pierre Muller
4f055a9254 Add dependency of classes unit on sortbase 2023-09-26 23:23:21 +02:00
Pierre Muller
541ba50269 Revert wrong substitution of classes and sysutils subdirectories inside wildcard calls 2023-09-26 22:48:55 +02:00
Pierre Muller
bb20f8f318 Replace all objpas$(PPUEXT) by $(OBJPASUNIT)$(PPUEXT) in inc/Makefile.rtl 2023-09-26 14:21:36 +02:00
Pierre Muller
b12932c7f8 Handle specific main cwstring.pp source for android OS 2023-09-26 01:02:46 +02:00
Pierre Muller
48ea716826 Set special value for RTLDEFSINCDIR variable
for andrioid and targets using AMIINC variable.
  Add rtldefs.inc dependency for cwstring unit,
with RTLDEFSINCDIR directory.
2023-09-26 01:02:46 +02:00
Pierre Muller
edc92f26ff Handle win16 specific units: wintypes winprocs and win31 for DOTTED 2023-09-26 01:02:44 +02:00
Pierre Muller
c0d8241b5d Handle unixtype unit and introduce PTYESINCDIR variable 2023-09-25 01:02:56 +02:00
Pierre Muller
8e98e35ac2 macosclassic OS does not have unixtype unit 2023-09-25 01:02:55 +02:00
Pierre Muller
b9af293d35 syscall unit is only used when -dFPC_USE_LIBC is not used 2023-09-25 01:02:54 +02:00
Pierre Muller
5001c72510 Add unixtype nit dependency for ctypes unit for Unix OSes 2023-09-25 01:02:54 +02:00
Pierre Muller
07d4779ee5 Add pthread.inc dependency for cthreads unit 2023-09-25 01:02:52 +02:00
Pierre Muller
1ea8e8bda2 Add rtlconst.inc dependency for rtlconsts unit 2023-09-25 01:02:49 +02:00
Pierre Muller
a160b2470b Handle sysctl unit for DOTTED 2023-09-25 01:02:49 +02:00
Pierre Muller
bdfd7a66eb * Adapt initc unit to DOTTED.
* Remove OS specific initc rules.
  * Set default directory for initc main source to
    UNIXINC variable value if is is set.
  * Replace initc references by INITCUNIT variable.
  * Add dpmiexcp dependency for initc on go32v2 system
    by setting INITC_DEPS_OS.
  * Add nwsys.inc dependency for initc on netware system.
2023-09-25 01:02:48 +02:00
Pierre Muller
5f14f4447b Update console unit for DOTTED 2023-09-20 18:05:16 +02:00
Pierre Muller
9a9bbe5740 Handle DOTTED transition for termio unit 2023-09-20 18:05:16 +02:00
Pierre Muller
3c0e3b1a3f Add -Fi option for dynlibs.inc directory to DYNLIBS_OPT in dynlibs unit rule 2023-09-20 13:16:27 +02:00
Pierre Muller
82dec844c3 * Update math unit rules for dotted version
+ Add PROCINC/mathu.inc dependency in generic rule for math unit
  * Remove OS specific rules for math unit
  * Use MATHUNIT variable everywhere
2023-09-20 08:26:06 +02:00
Pierre Muller
9fe073493a * Use linux directory explicitly for fpcylix source location
* Remove android rule for fpcylix unit
  * Replace fpcylix by FPCYLIXUNIT variable
2023-09-20 07:29:58 +02:00
Pierre Muller
31d831d775 Fix CP_UNITS_SRC variable for dotted case 2023-09-19 21:29:36 +00:00
Pierre Muller
5676cf4c1a Fix CP_UNITS variable setting 2023-09-14 11:21:00 +00:00
Pierre Muller
82d40c23e7 Fix EXEINFOUNIT and CP_UNITS variable values or dotted case 2023-09-14 08:55:01 +00:00
Pierre Muller
1d56f9f324 Fix CP_UNITS_SRC variable value 2023-09-13 21:19:42 +00:00
Pierre Muller
ec310eb2f3 Add all codepage unit source files to cpall dependency 2023-09-13 20:06:34 +00:00
Pierre Muller
e77402ecb4 Add missing include files for strings unit dependency list 2023-09-12 21:39:27 +00:00
Pierre Muller
ebc34f3dbb Remove wrong ERRORSUNIT=System.Errors line 2023-09-12 21:39:27 +00:00
Pierre Muller
e2d466f990 Remove duplicated, useless line 2023-09-12 21:39:27 +00:00
Rika Ichinose
324b77f317 Let fpc_dynarray_concat(_multi) reuse the only nonempty input or append to the destination if possible.
Improve fpc_dynarray_delete.
2023-09-12 20:58:50 +00:00
Pierre Muller
16d7424a75 Set UUCHARUNIT variable 2023-09-12 07:24:28 +00:00
Pierre Muller
62fe06ce9e Do not use ISO7185UNIT variable for main source file in ISO7185_DEPS 2023-09-11 22:17:44 +00:00
Pierre Muller
5bbd1c2172 Always set MACPASUNIT variable 2023-09-11 21:50:20 +00:00
Pierre Muller
7b2507456c Set FPINTRESUNIT and OBJPASUNIT variables 2023-09-11 21:31:12 +00:00
florian
ba78551c4f * patch by Rika: improve fpc_*_concat_multi, resolves #40251 2023-09-10 19:27:55 +02:00