Commit Graph
87 Commits
Author SHA1 Message Date
elrood 81eded2ece when building the runtime pass -fPIC for shared libs and -disable-invariants for gc 2008-11-30 19:19:39 +01:00
Christian Kamm 1b16f2234e Adjust Tango patch for Tango rev 4134. 2008-11-28 23:29:00 +01:00
Christian Kamm cdbc4f84d2 Fix warnings on x86-64. By fvbommel. 2008-11-28 21:24:08 +01:00
Christian Kamm 18e51d1c3f Automated merge with http://hg.dsource.org/projects/ldc 2008-11-27 17:43:20 +01:00
Christian Kamm fed06d6de8 Apply Elrood's CMake patch from #132. 2008-11-27 17:41:49 +01:00
Tomas Lindquist Olsen 6ed62218db Updated tango patch, the object.di changes are now in tango trunk 2008-11-27 02:16:55 +01:00
Christian Kamm b905f290ba Add missing CMakeList, apply conf changes to dmd2 frontend. 2008-11-24 20:02:59 +01:00
Christian Kamm 660ca009b9 Include x86-32 fiber fixes in tango patch again. 2008-11-22 13:41:36 +01:00
Tomas Lindquist Olsen f6c2e59bef tango patch fix 2008-11-20 17:20:00 +01:00
Tomas Lindquist Olsen 9cad63844f Updated Tango patch for latest trunk 2008-11-20 17:03:18 +01:00
Tomas Lindquist Olsen 7b1d4cf975 D2: forgot the main makefile ... :( 2008-11-12 06:35:20 +01:00
Tomas Lindquist Olsen 98ff1c8b54 Updated runtime README a bit.
Messed up the druntime patch earlier :/
2008-11-12 06:26:45 +01:00
Tomas Lindquist Olsen 4d982f821d D2: forgot to revert some changes made for testing last fix... 2008-11-12 05:43:12 +01:00
Tomas Lindquist Olsen d077bbc5e6 D2: Fixed global constants not initialized until module constructor. 2008-11-12 05:40:31 +01:00
Tomas Lindquist Olsen 582deb9827 D2 changes!
Removed druntime from the repository again.. Sorry :/
Updated the druntime port a bit, now requires druntime from trunk.
Added info in runtime/README on how to get druntime from trunk.
Added patch to add LDC support to druntime.
Removed some debug logging from D2 builds.
Fixed broken typeinfo for const/invariant in D2.
2008-11-12 07:22:05 +01:00
Christian Kamm d41bcb5312 Merge in most of x86-64 tango patch. 2008-11-08 11:34:35 +01:00
Christian Kamm 10289513be Update tango patch to latest tango revision. 2008-11-08 10:22:08 +01:00
Christian Kamm 437aa0d4aa Fix bug in array_cast_len. Makes tango.text.Regex work. 2008-11-02 18:36:28 +01:00
Christian Kamm 891d17e4b5 Applied easy part from wilsonk's x86-64 patch in #107 2008-10-30 11:08:34 +01:00
Christian Kamm 0e5d9f970b Add explicit uint->char cast to get rid of warning. 2008-10-30 10:15:42 +01:00
Christian Kamm b3b98c3284 Fix broken indentation from last commit. 2008-10-26 21:18:24 +01:00
Christian Kamm d3bb0b74bd Enable arg reversal on x86 by default. Make change to TypeInfo_Struct.compare to accomodate for it. 2008-10-26 21:16:21 +01:00
Christian Kamm cfcda83291 Change _d_newclass into _d_allocclass. Add initialization to ClassInfo.create. 2008-10-26 14:12:03 +01:00
Tomas Lindquist Olsen 5ad345646a Merged DMD 1.036.
Improved comments a little in the runtime source code.
2008-10-22 17:06:17 +02:00
Tomas Lindquist Olsen f7ea1da010 Removed TypeOpaque from DMD.
Changed runtime functions taking opaque[] to void[].
Implemented proper type painting, to avoid "resizing" array casts in runtime calls that previously took opaque[].
Implemented dynamic arrays as first class types, this implements proper ABI for these types on x86.
Added dwarf region end after call to assert function, fixes some problems with llvm not allowing this to be missing.
Reverted change to WithStatement from rev [704] it breaks MiniD, mini/with2.d needs to be fixed some other way...
Fixed tango bug 1339 in runtime, problem with _adReverseChar on invalid UTF-8.
Disabled .bc generation in the compiler runtime part, genobj.d triggers some llvm bug when using debug info. the .o seems to work fine.
2008-10-22 14:55:33 +02:00
Christian Kamm c2c156f9a0 Remove pthread_darwin from common runtime makefile. 2008-10-14 19:48:45 +02:00
Christian Kamm 0a5179990a Merge darwin patch for Tango. 2008-10-13 16:51:38 +02:00
Christian Kamm be85b09854 Pass flags ADD_DFLAGS to build of runtime/internal. 2008-10-12 15:31:24 +02:00
Christian Kamm c2f17bda87 Adjust build-tango.sh for ldc. 2008-10-12 11:23:27 +02:00
Christian Kamm e1283d80d2 Updates to makefiles. It's not robust with regard to the .bc files, but it works. 2008-10-12 10:42:54 +02:00
Christian Kamm 697e5830fc Fix remaining make files. Fix linking order for static libs. 2008-10-11 21:40:44 +02:00
Christian Kamm 6d1768967e Fix makefile for runtime/internal. 2008-10-11 21:23:41 +02:00
Christian Kamm 45fc733717 Renames. 2008-10-06 22:56:54 +02:00
Christian Kamm a3a418150e Some missed LLVMDC -> LDC. 2008-10-06 22:54:08 +02:00
Christian Kamm 6eeeafdba6 First part of rename to LDC. 2008-10-06 22:46:55 +02:00
Tomas Lindquist Olsen 1165edee29 One more update of Tango Rebuild profile.
Made the inp/outp intrinsics throw exceptions instead of doing nothing silently.
2008-10-06 16:39:47 +02:00
Tomas Lindquist Olsen 60cb084af7 Updated the Tango patch to latest revision. Removed problematic (Jarrett) include <cassert> from gen/runtime.cpp 2008-10-05 02:01:50 +02:00
Christian Kamm 40d0df8769 Portability changes to dmain2.d 2008-10-04 23:28:49 +02:00
Christian Kamm 35f6672bb6 Adjust dmain catch to print exception trace info. 2008-10-04 13:35:27 +02:00
Christian Kamm 2f9b9dead7 Make default argument protection check not error for undefined protection.
Fix symbol visibility issues in Tango.
2008-10-03 17:31:16 +02:00
Christian Kamm 920aa77e64 Fiber support: clobber the registers we want restored on a context switch. 2008-10-03 09:11:41 +02:00
Christian Kamm 8113935dea Made Fibers work with LLVMDC on x86 Posix. 2008-10-03 00:42:17 +02:00
Tomas Lindquist Olsen d0c5df393c Applied the FreeBSD patch from Ralith, closes ticket #95 , slightly changed but basically the same. Thanx Ralith :) 2008-10-02 03:25:46 +02:00
Tomas Lindquist Olsen e77e235307 updated tango patch so it compiles again with the latests check for using privates as default args for public functions. 2008-10-02 01:42:21 +02:00
Christian Kamm 656b89db0f Tango patch: xml document fixes and symbol visibility in gc 2008-10-01 19:19:26 +02:00
Christian Kamm 2f479df1b2 Fix atomicIncr and atomicDecr. Probably.
The unittest for tango.core.Atomic now passes.
2008-09-21 18:41:27 +02:00
Christian Kamm 4f7f53fa04 Add bool-special cases in tango.core.Atomic. 2008-09-21 17:23:17 +02:00
Christian Kamm a81a6367b4 Tango rev 3939 fixed the std.intrinsic issue. 2008-09-19 21:45:05 +02:00
Tomas Lindquist Olsen 14e9384b23 Removed dmdintrinsic.d from the runtime, we already have llvmdc.bitmanip.
Updated tango patch to import tango.core.BitManip instead of std.intrinsic.
2008-09-18 21:14:37 +02:00
Christian Kamm 441253b416 Add implementations for dmd intrinsics. Fixes #92. 2008-09-17 19:54:37 +02:00