Commit Graph

703 Commits

Author SHA1 Message Date
Christian Kamm
e76d8f25b4 changed uint to unsigned int, thanks Elrood 2008-10-13 21:08:11 +02:00
Christian Kamm
881a141a1a Guess exe name from first object name if none specified. 2008-10-13 19:02:03 +02:00
Tomas Lindquist Olsen
1757e2e1de Updated rebuild profile for .o output as default, compiler needs to be fixed still.
Fixed segfault with ' ldc foo.o -offoo '.
2008-10-13 18:19:43 +02:00
Tomas Lindquist Olsen
f15b115ee9 Started changing target triple stuff, part of fixing #97 2008-10-13 17:28:39 +02:00
Christian Kamm
0a5179990a Merge darwin patch for Tango. 2008-10-13 16:51:38 +02:00
Christian Kamm
73c58119e5 Missing include added. 2008-10-13 14:09:24 +02:00
Christian Kamm
cdeaefa63c Fix issues with gradual underflow and strtof, strtod on Mac. 2008-10-13 14:01:18 +02:00
Christian Kamm
ee8dd42c1d Some cleanups in command line argument descriptions. 2008-10-13 11:13:20 +02:00
Christian Kamm
bc39d73425 Allow output of only bc, ll, or s by making -of set the output type depending
on the extension.
2008-10-13 10:58:00 +02:00
Christian Kamm
6c19259c68 Trivial change to test auth. 2008-10-12 20:22:51 +02:00
Christian Kamm
98f764b5f7 Trivial change, just checking pushing auth. 2008-10-12 18:11:30 +02:00
Christian Kamm
c8ef274074 Update tests readme. 2008-10-12 18:10:19 +02:00
Christian Kamm
a455186f28 Homepage rename. 2008-10-12 18:03:34 +02:00
Christian Kamm
d82c8068a3 Always run SimplifyCFG to workaround LLVM bug 2613. 2008-10-12 15:33:14 +02:00
Christian Kamm
be85b09854 Pass flags ADD_DFLAGS to build of runtime/internal. 2008-10-12 15:31:24 +02:00
Christian Kamm
1e825d057a Emit region.end debug calls before a throw. 2008-10-12 15:30:58 +02:00
Christian Kamm
b413b9aa54 Emit stub debug info for generated functions to work around LLVM bug 2172. 2008-10-12 14:38:55 +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
6cb213badf Only allocate the module file name once. Fixes #90. 2008-10-12 10:35:16 +02:00
Christian Kamm
40f724234d Remove too strict type check for DotTypeExp. Fixes run/t/typedef_19_B. 2008-10-11 22:44:17 +02:00
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