Mercurial > projects > ldc
annotate ldc-tango @ 715:30b42a283c8e
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.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 22 Oct 2008 14:55:33 +0200 |
parents | 1e98c99a87cb |
children | 7ddd03a2ce02 |
rev | line source |
---|---|
452
30ef3c7bddca
Fixed problems with nested 'this'. Fixes #39 .
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
445
diff
changeset
|
1 ignore=object |
138 | 2 |
663
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
3 compiler=ldc |
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
4 inifile=ldc.conf |
138 | 5 |
6 exeext= | |
700
716684a0d63f
Updated rebuild profile for .o output as default, compiler needs to be fixed still.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
665
diff
changeset
|
7 objext=o |
138 | 8 |
9 | |
201 | 10 version=LLVM |
663
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
11 version=LDC |
138 | 12 noversion=DigitalMars |
13 noversion=GNU | |
14 testversion=linux | |
659
43d2ab9833bf
Forgot a change from DMD update.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
655
diff
changeset
|
15 testversion=darwin |
43d2ab9833bf
Forgot a change from DMD update.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
655
diff
changeset
|
16 testversion=freebsd |
138 | 17 testversion=Unix |
443
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
437
diff
changeset
|
18 testversion=Posix |
138 | 19 testversion=Windows |
20 testversion=Win32 | |
21 testversion=Win64 | |
659
43d2ab9833bf
Forgot a change from DMD update.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
655
diff
changeset
|
22 testversion=mingw32 |
138 | 23 testversion=X86 |
24 testversion=PPC | |
25 testversion=X86_64 | |
26 testversion=PPC64 | |
27 testversion=D_InlineAsm | |
28 testvestion=D_InlineAsm_X86 | |
29 testversion=D_InlineAsm_PPC | |
30 testversion=D_InlineAsm_X86_64 | |
31 testversion=D_InlineAsm_PPC64 | |
660
d6b71647b622
One more update of Tango Rebuild profile.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
659
diff
changeset
|
32 testversion=LLVM_InlineAsm_X86 |
138 | 33 testversion=LittleEndian |
34 testversion=BigEndian | |
35 testversion=LLVM64 | |
660
d6b71647b622
One more update of Tango Rebuild profile.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
659
diff
changeset
|
36 testversion=PIC |
138 | 37 |
38 | |
39 [compile] | |
714
1e98c99a87cb
Updated Rebuild profile to use correct linker switches
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
700
diff
changeset
|
40 oneatatime=yes |
663
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
41 cmd=ldc -c $i |
138 | 42 |
43 flag=$i | |
44 incdir=-I$i | |
714
1e98c99a87cb
Updated Rebuild profile to use correct linker switches
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
700
diff
changeset
|
45 libdir=-L-L$i |
138 | 46 optimize=-O3 |
47 version=-version=$i | |
48 | |
49 | |
50 [link] | |
527
cecfee2d01a8
Added support for overloaded intrinsics.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
452
diff
changeset
|
51 oneatatime=yes |
663
6aaa3d3c1183
First part of rename to LDC.
Christian Kamm <kamm incasoftware de>
parents:
660
diff
changeset
|
52 cmd=ldc $i -of$o |
138 | 53 |
714
1e98c99a87cb
Updated Rebuild profile to use correct linker switches
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
700
diff
changeset
|
54 libdir=-L-L$i |
1e98c99a87cb
Updated Rebuild profile to use correct linker switches
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
700
diff
changeset
|
55 lib=-L-l$i |
138 | 56 flag=-L$i |
57 | |
58 | |
59 [liblink] | |
60 safe=yes | |
527
cecfee2d01a8
Added support for overloaded intrinsics.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
452
diff
changeset
|
61 oneatatime=yes |
700
716684a0d63f
Updated rebuild profile for .o output as default, compiler needs to be fixed still.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
665
diff
changeset
|
62 cmd=ar rc $o $i |
138 | 63 |
654
961221d5a49c
Updated llvmdc-tango Rebuild profile, liblink was wrong
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
527
diff
changeset
|
64 libdir= |
961221d5a49c
Updated llvmdc-tango Rebuild profile, liblink was wrong
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
527
diff
changeset
|
65 lib= |
961221d5a49c
Updated llvmdc-tango Rebuild profile, liblink was wrong
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
527
diff
changeset
|
66 flag= |
138 | 67 |
68 | |
69 [postliblink] | |
700
716684a0d63f
Updated rebuild profile for .o output as default, compiler needs to be fixed still.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
665
diff
changeset
|
70 cmd=ranlib $i |
437
11a8a45759a8
Reverted bad cfg merge stuff
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
436
diff
changeset
|
71 |
138 | 72 |
73 [shliblink] | |
74 shlibs=no | |
75 | |
76 [dyliblink] | |
77 dylibs=no |