Frits van Bommel
4f51adc810
Implement support for intrinsics returning struct types
...
(such as llvm.*.with.overflow)
2009-02-26 22:47:06 +01:00
Frits van Bommel
9259089c2b
Removing ldc.conf. (IMPORTANT: run 'cmake .' after pull)
...
Added it to .hgignore.
This gets rid of spurious differences caused by CMake regenerating it differently.
Just run 'cmake .' to get it back in your local checkout.
2009-02-19 13:50:05 +01:00
Frits van Bommel
ad7ad71e11
Fix out-ouf-source build for runtime as well.
...
To build out-of-source, follow these steps:
# [[Insert LLVM build instructions here]]
mkdir my_build_dir
cd my_build_dir
svn co http://svn.dsource.org/projects/tango/trunk tango
ccmake <PATH_TO_SOURCE>
# (Regular ccmake stuff, press 'c' a few times followed by 'g')
make
make runtime
# add `PWD`/bin to PATH
closes #213
2009-02-19 11:01:34 +01:00
Christian Kamm
07649678db
_d_delarray also had one of the array consistency asserts mentioned in #184
...
and dmd2632.
2009-01-30 07:51:50 +01:00
Christian Kamm
d958535969
Remove asserts on array consistancy in arraysetlength. Fixes #184 , thanks Deewiant.
2009-01-29 17:45:12 +01:00
Christian Kamm
921a326865
Applied doob's patch to port GDC's Dyld data segment tracking for Mac.
2009-01-24 00:33:06 +01:00
Christian Kamm
783ec2799d
Further Solaris data segment detection fixes. Thanks BlueZeniX!
2009-01-23 10:13:27 +01:00
Christian Kamm
ab9b9cc2e9
Solaris compatibility and proc map parsing #183 , thanks BlueZeniX!
2009-01-22 18:53:32 +01:00
Christian Kamm
f4f5c58a44
Add wilsonk's static data segment finding code for x86-64 from #181 . Thanks!
2009-01-22 18:23:30 +01:00
Christian Kamm
ba9eb478dd
Add headers for HP's libunwind, currently unused though.
2009-01-22 17:57:38 +01:00
Christian Kamm
bbf21853b4
Fix x86-64 exception handling #180 . Thanks pcwalton!
2009-01-22 17:50:38 +01:00
Christian Kamm
8ac2aecf42
Apply pcwalton's eh runtime portability fix.
2009-01-19 19:42:00 +01:00
Christian Kamm
33fe431ffe
Don't use /proc/self/map for finding the static data segment on x86-64 for
...
now. Probably breaks shared libraries. Parsing the file needs to be rewritten!
2009-01-19 19:34:51 +01:00
Christian Kamm
306015f7fb
Get rid of ex-Tango patch. (merged into Tango)
...
Adjust README and CMakeLists.
2009-01-06 15:54:48 +01:00
Christian Kamm
e7f750aee1
Apply BlueZeniX's patch for OpenSolaris compatibility. Fixes #158 .
2009-01-04 15:49:28 +01:00
Christian Kamm
68de00f6c4
Backed out changeset 1fcba307fd28
...
Wasn't the right thing to do.
2008-12-27 16:07:23 +01:00
Christian Kamm
20b85089a7
Changed bswap intrinsic definition in compiler specific runtime to actually
...
implement a linkable bswap.
2008-12-27 15:54:24 +01:00
elrood
512437d3e3
temporary fix for runtime buildscript to copy ldc's imports to tango
2008-12-18 19:21:44 +01:00
Christian Kamm
a272b01df6
Apply fix for #151 .
2008-12-15 21:09:33 +01:00
elrood
d8a7727942
added a patch to tango's stdio for ldc on win32
2008-12-14 17:53:20 +01:00
Christian Kamm
7e0c26329a
Rename merged runtime to tango-base-ldc, #145 .
2008-12-12 17:10:23 +01:00
Christian Kamm
62bb24d1bd
Automated merge with http://hg.dsource.org/projects/ldc
2008-12-12 08:18:30 +01:00
Tomas Lindquist Olsen
b6781a8eae
Added proper "need 'this' to access member foo" errors instead of "variable foo not resolved" for some cases, added FIXME for the old error!
...
Added a bit more information to the runtime's cyclic dependency detection exception.
2008-12-09 01:56:39 +01:00
Christian Kamm
eeb4e67ec5
Update tango patch for newest tango.
2008-12-08 17:09:13 +01:00
elrood
0085c9409c
.. and fixed the install target (hopefully)
2008-12-05 22:01:50 +01:00
elrood
5321c34637
added install target and possibility to pre- and suffix ldc's executable name to cmake scripts
2008-12-04 22:09:24 +01:00
Tomas Lindquist Olsen
6997919627
Removed PAGESIZE part of Tango patch, it works for me when the check is removed.
...
Updated Tango patch to latest Tango revision.
2008-12-02 02:45:31 +01:00
Christian Kamm
5657e53c49
Fix fibers in tango patch
2008-12-01 20:26:32 +01:00
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