Tomas Lindquist Olsen
dcb9628849
Merged DMD 1.039
2009-01-07 19:34:48 +01:00
Tomas Lindquist Olsen
16409a3367
Merged DMD 1.038
2009-01-06 16:33:51 +01:00
Christian Kamm
e7f750aee1
Apply BlueZeniX's patch for OpenSolaris compatibility. Fixes #158 .
2009-01-04 15:49:28 +01:00
Christian Kamm
dff06d0f15
Add Elrood's patch to output LDC and LLVM source revs.
2008-12-14 16:51:36 +01:00
Christian Kamm
dabe5d3efd
Remove unportable env-sanitizing code. If it is really needed, it needs to be
...
rethought. Closes #131 .
2008-12-14 16:30:06 +01:00
Tomas Lindquist Olsen
6716aecc52
Merged DMD 1.037 frontend
2008-12-13 13:15:31 +01:00
Tomas Lindquist Olsen
e0972b0793
Fixed ModuleInfo generation to no longer use the ModuleInfo class' default initializer for types/defaults, it's unsafe as initializers don't necesarily match the "formal" type. There might be explicit padding.
...
Changed -g switch to emit DW_LANG_D debug info, make demangling work with a patched GDB, still more work to do for full support of D's Dwarf extensions.
Added getNullValue helper method.
2008-12-01 02:10:16 +01:00
Tomas Lindquist Olsen
f46f865375
Removed KDevelop3 project files, CMake can generate them just fine!
...
Fixed function literals in static initializers.
Changed alignment of delegates from 2*PTRSIZE to just PTRSIZE.
Changed errors to go to stderr instead of stdout.
Fairly major rewriting of struct/union/class handling, STILL A BIT BUGGY !!!
2008-11-29 21:25:43 +01:00
Christian Kamm
d260cab7e9
Print llvm package string in version header. See #128 .
2008-11-26 19:40:11 +01:00
Christian Kamm
375b6cd888
Apply Elrood's CMake changes from #124 . Thanks a lot!
2008-11-24 18:17:58 +01:00
Christian Kamm
891d17e4b5
Applied easy part from wilsonk's x86-64 patch in #107
2008-10-30 11:08:34 +01:00
Tomas Lindquist Olsen
6b9e85df48
Attempt at getting LLVM to provide a proper target data layout. Should assert now if things are borked.
...
Added untested support for Thumb target.
2008-10-27 17:37:34 +01:00
Christian Kamm
29dfacde9a
Fold in mandel's patch for ARM from #106
2008-10-27 16:36:59 +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
Christian Kamm
773b15ba5e
Use malloc instead of alloca.
2008-10-21 20:46:12 +02:00
Christian Kamm
742ffd88a3
Fix -of with multiple input files.
2008-10-21 18:15:34 +02:00
Christian Kamm
6c532ac149
Hopefully sensible command switch handling. Changed default ext to .o on Windows.
2008-10-16 22:07:02 +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
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
a455186f28
Homepage rename.
2008-10-12 18:03:34 +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
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
6eeeafdba6
First part of rename to LDC.
2008-10-06 22:46:55 +02:00
Tomas Lindquist Olsen
06a55194d7
Upgraded frontend to DMD 1.035
2008-10-06 16:22:11 +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
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
f411df11e3
Fixed choosing default target machine without needing to link in targets.
2008-09-07 17:44:25 -07:00
Christian Kamm
d44f21687e
Restructure path handling a bit. Fixes #66 .
2008-09-06 12:27:27 +02:00
Tomas Lindquist Olsen
ccfa5218c3
merge
2008-09-04 17:05:35 +02:00
Christian Kamm
3779b7c7d1
Split runtime into three parts again.
2008-09-03 22:07:04 +02:00
Tomas Lindquist Olsen
f3b3db7fa9
Changed all '#if linux || __APPLE__' to '#if POSIX' so we can support other platforms too, thanx for the suggestion anders.
2008-09-02 23:10:12 +02:00
Christian Kamm
d6e7a65b69
Automated merge with http://hg.dsource.org/projects/llvmdc
2008-09-02 19:14:37 +02:00
Christian Kamm
877da230a3
Get rid of runtime path. Allow defaultlib and debuglib switches to be given multiple times.
2008-09-02 19:14:25 +02:00
Tomas Lindquist Olsen
9f0633a7dd
Added some sanity checks for target detection.
2008-08-31 18:51:14 +02:00
Tomas Lindquist Olsen
c65cd45966
Removed unimplemented switches.
2008-08-26 21:02:25 +02:00
Christian Kamm
2deaf9f238
Do not set Dversion to 1. Dversion = 2 means we use post 1.000 additions to D1.
2008-08-26 20:49:01 +02:00
Christian Kamm
54871f4ea7
Add -enable/-disable for specific features.
...
Allow setting target os with -t.
Clean up the help message.
2008-08-26 19:31:47 +02:00
Tomas Lindquist Olsen
d78677961b
Removed D_InlineAsm and D_InlineAsm_X86 versions.
...
Made use of 'naked' in inline asm an error.
2008-08-25 19:36:27 +02:00
Tomas Lindquist Olsen
6cb325e2fa
Missing 'break' in osx code path.
2008-08-24 17:57:53 +02:00
Tomas Lindquist Olsen
6cd4eda726
Fixed some osx mistakes.
2008-08-24 17:19:31 +02:00
Christian Kamm
8d95fc7b3e
Add isnan for __APPLE__ and darwin version ident for OSX.
2008-08-24 16:59:08 +02:00
Jacob Carlborg
81de0c4b23
Add __APPLE__ to most #if linux compile time switches.
2008-08-24 16:54:06 +02:00
Christian Kamm
72a2db6d7c
Get rid of isLinux and isWindows in favor of global.params.os.
2008-08-24 16:22:58 +02:00
Christian Kamm
ef80c904dc
Make class invariants work.
2008-08-21 15:19:45 +02:00
Tomas Lindquist Olsen
5aae7a6bee
Merged DMD 1.034, array operations are not yet implemented ;)
2008-08-14 06:55:41 +02:00