Commit Graph

682 Commits

Author SHA1 Message Date
Christian Kamm
b4e57e83eb Another link order fix. 2008-10-11 22:14:16 +02:00
Christian Kamm
5a8716d539 Update dstress running script. 2008-10-11 21:46:19 +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
ee407e597a Link using gcc instead. 2008-10-11 21:21:21 +02:00
Christian Kamm
1bfc0316aa Make ldc call gcc to assemble. 2008-10-11 20:00:36 +02:00
Christian Kamm
73d7a299c9 Disable bc output by default. Remove -dis. Add -output-bc, -output-ll, -output-s.
Call to gcc to convert assembly to object file still required.
2008-10-11 13:07:59 +02:00
Christian Kamm
3e4bb69ef3 Move to separate function and cleanup. 2008-10-11 11:41:56 +02:00
Christian Kamm
7b20402e0b Add basics for direct assembly output. 2008-10-11 11:07:53 +02:00
Christian Kamm
e8f8340ef8 Automated merge with http://hg.dsource.org/projects/llvmdc 2008-10-08 22:43:38 +02:00
Tomas Lindquist Olsen
ed7dd481e5 Fixed dynamic array -> boolean. does (arr.ptr !is null) now instead of (arr.length != 0) 2008-10-08 22:38:52 +02:00
Christian Kamm
9499761131 When newing a struct, make sure the initializer is available. 2008-10-08 20:41:43 +02:00
Christian Kamm
4d610bcd7e Fix odd interfaceInfoType bug. 2008-10-08 20:28:59 +02:00
Christian Kamm
3506960765 Add tests. 2008-10-07 20:22:04 +02:00
Christian Kamm
b90799a376 Add DotTypeExp 2008-10-07 20:19:19 +02:00
Christian Kamm
ae9a2901df Implement BoolExp. 2008-10-07 18:41:00 +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
1fe1354a8a Applied downs' latest Phobos patch 2008-10-06 21:40:33 +02:00
Christian Kamm
0bd282113b Simplify fp80 handling in DtoConstFP 2008-10-06 21:27:29 +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
1bc3aec560 Forgot a change from DMD update.
Removed old Phobos rebuild profiles.
Updated Tango rebuild profile slightly.
2008-10-06 16:22:54 +02:00
Tomas Lindquist Olsen
06a55194d7 Upgraded frontend to DMD 1.035 2008-10-06 16:22:11 +02:00
Tomas Lindquist Olsen
e109025c00 Removed some checks for abstract llvm types that were too strict, a 'opaque* null' is a valid initializer... when structs in D can be just a forward reference. 2008-10-06 14:37:00 +02:00
Tomas Lindquist Olsen
ecd8a2ac07 Support structs that are merely a forward reference. See mini/forwdecl1.d 2008-10-06 14:06:55 +02:00
Tomas Lindquist Olsen
f706098c56 Added -version=Tango in default llvmdc.conf
Fixed problem with array casts, all DWT modules needed for HelloWorld1 samples now compile. Still some linking issues.
2008-10-06 12:46:57 +02:00
Tomas Lindquist Olsen
62603c6aaf Updated llvmdc-tango Rebuild profile, liblink was wrong 2008-10-06 10:23:25 +02:00
Christian Kamm
15e5f0e902 Fix x86_fp80 constants. 2008-10-06 09:07:35 +02:00
Christian Kamm
0de539868e Fix TryFinally without body or finalbody. 2008-10-05 22:26:25 +02:00
Tomas Lindquist Olsen
81b93325ca Added -nodefaultlib switch do disable implicitly linked standard lib modules 2008-10-05 18:55:43 +02:00
Tomas Lindquist Olsen
77e16a9302 Added test case for bug #100
Removed dubious check for not emitting static private global in other modules without access. This should be handled properly somewhere else, it's causing unresolved global errors for stuff that should work (in MiniD)
2008-10-05 17:28:15 +02:00
Christian Kamm
f721aee1a4 Automated merge with http://hg.dsource.org/projects/llvmdc 2008-10-05 11:47:59 +02:00
Christian Kamm
2a999b72e8 Fix VarDecls for tuples. Closes #99.
I've implemented it this way since it doesn't require any changes in the
frontend. However, I think having TypeTuple expressed as LLVM struct types
would make much more sense and open the door to tuple lvalues.
2008-10-05 11:47: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
87d885f840 Don't let outer enclosing handlers propagate to nested function declarations. 2008-10-04 12:32:09 +02:00
Christian Kamm
f4da5f4a89 Fix -oq, closes #96
Add value debug output to RealExp::toConstElem.
2008-10-03 19:24:46 +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
Christian Kamm
b3d4bc83f8 Move check for access of context for nested class from backend into frontend. 2008-10-02 23:12:19 +02:00
Tomas Lindquist Olsen
e2a1394ae8 Added FreeBSD support to the -t switch 2008-10-02 03:38:29 +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
Tomas Lindquist Olsen
efab6b8f2a added test case for last commit (taking delegate of nested function of current function) 2008-10-02 01:38:00 +02:00
Tomas Lindquist Olsen
d0ff4494ac Fixed problem with taking the delegate of a nested function of the current function. 2008-10-02 01:28:33 +02:00
Tomas Lindquist Olsen
daf14100ce merge 2008-10-01 23:17:36 +02:00
Tomas Lindquist Olsen
bce9368514 Updated to latest LLVM trunk, function notes have been removed and merged with parameter attributes, which have been renamed to just attributes. Nothing seems to have broke! 2008-10-01 23:17:14 +02:00