comparison runtime/llvmdc.diff @ 454:283d113d4753

Added generation of the llvm 'sret' parameter attribute where applicable. Fixed some wrong argument handling code when setting parameter attributes. Updated the tango unittest script in the tango patch, does not work yet, all modules don't compile...
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 02 Aug 2008 02:54:57 +0200
parents cc40db549aea
children cef0cbcf7d22
comparison
equal deleted inserted replaced
453:60332cd85308 454:283d113d4753
92 + else version( D_InlineAsm_X86 ) 92 + else version( D_InlineAsm_X86 )
93 + { 93 + {
94 version( X86_64 ) 94 version( X86_64 )
95 { 95 {
96 96
97 Index: lib/unittest.sh
98 ===================================================================
99 --- lib/unittest.sh (revision 3831)
100 +++ lib/unittest.sh (working copy)
101 @@ -18,8 +18,9 @@
102 --help: This message
103 --run-all: Reports result instead of breaking. Do not use this if you want to
104 run unittest runner through a debugger.
105 - dmd: Builds unittests for dmd
106 - gdc: Builds unittests for gdc
107 + dmd: Builds unittests for dmd
108 + gdc: Builds unittests for gdc
109 + llvmdc: Builds unittests for llvmdc
110
111 <none>: Builds unittests for all known compilers.'
112 exit 0
113 @@ -125,6 +126,9 @@
114 gdc)
115 GDC=1
116 ;;
117 + llvmdc)
118 + LLVMDC=1
119 + ;;
120 *)
121 usage
122 ;;
123 @@ -132,10 +136,11 @@
124 shift
125 done
126
127 -if [ ! "$DMD" -a ! "$GDC" ]
128 +if [ ! "$DMD" -a ! "$GDC" -a ! "$LLVMDC" ]
129 then
130 DMD=1
131 GDC=1
132 + LLVMDC=1
133 fi
134
135 if [ "$DMD" = "1" ]
136 @@ -146,4 +151,7 @@
137 then
138 compile gdc runUnitTest_gdc
139 fi
140 -
141 +if [ "$LLVMDC" = "1" ]
142 +then
143 + compile llvmdc runUnitTest_llvmdc
144 +fi
97 Index: lib/gc/basic/gcx.d 145 Index: lib/gc/basic/gcx.d
98 =================================================================== 146 ===================================================================
99 --- lib/gc/basic/gcx.d (revision 3831) 147 --- lib/gc/basic/gcx.d (revision 3831)
100 +++ lib/gc/basic/gcx.d (working copy) 148 +++ lib/gc/basic/gcx.d (working copy)
101 @@ -2178,6 +2178,28 @@ 149 @@ -2178,6 +2178,28 @@