comparison runtime/internal/ldc.mak @ 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 f1560a529987
children
comparison
equal deleted inserted replaced
714:1e98c99a87cb 715:30b42a283c8e
62 .d.html: 62 .d.html:
63 $(DC) -c -o- $(DOCFLAGS) -Df$*.html ldc.ddoc $< 63 $(DC) -c -o- $(DOCFLAGS) -Df$*.html ldc.ddoc $<
64 64
65 targets : lib sharedlib doc 65 targets : lib sharedlib doc
66 all : lib sharedlib doc 66 all : lib sharedlib doc
67 lib : ldc.bclib ldc.clib ldc.lib 67 #lib : ldc.bclib ldc.clib ldc.lib
68 lib : ldc.clib ldc.lib
68 sharedlib : ldc.sharedlib 69 sharedlib : ldc.sharedlib
69 doc : ldc.doc 70 doc : ldc.doc
70 71
71 ###################################################### 72 ######################################################
72 OBJ_C= \ 73 OBJ_C= \
216 217
217 ALL_DOCS= 218 ALL_DOCS=
218 219
219 ###################################################### 220 ######################################################
220 221
221 ldc.bclib : $(LIB_TARGET_BC_ONLY) 222 #ldc.bclib : $(LIB_TARGET_BC_ONLY)
222 ldc.clib : $(LIB_TARGET_C_ONLY) 223 ldc.clib : $(LIB_TARGET_C_ONLY)
223 ldc.lib : $(LIB_TARGET_FULL) 224 ldc.lib : $(LIB_TARGET_FULL)
224 ldc.sharedlib : $(LIB_TARGET_SHARED) 225 ldc.sharedlib : $(LIB_TARGET_SHARED)
225 226
226 $(LIB_TARGET_BC_ONLY) : $(ALL_OBJS_O) 227 #$(LIB_TARGET_BC_ONLY) : $(ALL_OBJS_O)
227 $(RM) $@ 228 # $(RM) $@
228 $(LC) $@ $(ALL_OBJS_BC) 229 # $(LC) $@ $(ALL_OBJS_BC)
229 230
230 231
231 $(LIB_TARGET_FULL) : $(ALL_OBJS_O) 232 $(LIB_TARGET_FULL) : $(ALL_OBJS_O)
232 $(RM) $@ 233 $(RM) $@
233 $(CLC) $@ $(ALL_OBJS_O) 234 $(CLC) $@ $(ALL_OBJS_O)
248 249
249 ###################################################### 250 ######################################################
250 251
251 clean : 252 clean :
252 find . -name "*.di" | xargs $(RM) 253 find . -name "*.di" | xargs $(RM)
253 $(RM) $(ALL_OBJS_BC) 254 # $(RM) $(ALL_OBJS_BC)
254 $(RM) $(ALL_OBJS_O) 255 $(RM) $(ALL_OBJS_O)
255 $(RM) $(ALL_DOCS) 256 $(RM) $(ALL_DOCS)
256 $(RM) $(LIB_MASK) 257 $(RM) $(LIB_MASK)
257 258
258 install : 259 install :