annotate llvmdc-posix @ 108:288fe1029e1f trunk

[svn r112] Fixed 'case 1,2,3:' style case statements. Fixed a bunch of bugs with return/break/continue in loops. Fixed support for the DMDFE hidden implicit return value variable. This can be needed for some foreach statements where the loop body is converted to a nested delegate, but also possibly returns from the function. Added std.math to phobos. Added AA runtime support code, done ground work for implementing AAs. Several other bugfixes.
author lindquist
date Tue, 20 Nov 2007 05:29:20 +0100
parents ab8f5ec40a14
children 7f9a0a58394b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
1 #profile=phobos
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
2
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
3 compiler=llvmdc
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
4 inifile=llvmdc.conf
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
5
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
6 exeext=
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
7 objext=bc
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
8
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
9
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
10 version=LLVM
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
11 noversion=DigitalMars
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
12 noversion=GNU
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
13 testversion=linux
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
14 testversion=Unix
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
15 version=Posix
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
16 testversion=Windows
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
17 testversion=Win32
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
18 testversion=Win64
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
19 testversion=X86
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
20 testversion=PPC
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
21 testversion=X86_64
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
22 testversion=PPC64
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
23 testversion=D_InlineAsm
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
24 testvestion=D_InlineAsm_X86
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
25 testversion=D_InlineAsm_PPC
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
26 testversion=D_InlineAsm_X86_64
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
27 testversion=D_InlineAsm_PPC64
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
28 testversion=LittleEndian
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
29 testversion=BigEndian
75
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
30 testversion=LLVM64
5
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
31
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
32
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
33 [compile]
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
34 cmd=llvmdc -version=Posix -c $i
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
35
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
36 flag=$i
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
37 incdir=-I$i
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
38 libdir=-L-L$i
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
39 optimize=-O5
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
40 version=-version=$i
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
41
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
42
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
43 [link]
39
fd5e8bbfcb25 [svn r43] Fixed the rebuild profile to be able to build sdldemo1.
lindquist
parents: 5
diff changeset
44 oneatatime=yes
fd5e8bbfcb25 [svn r43] Fixed the rebuild profile to be able to build sdldemo1.
lindquist
parents: 5
diff changeset
45 cmd=llvmdc $i -of$o
5
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
46
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
47 libdir=-L-L$i
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
48 lib=-L-l$i
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
49 flag=-L$i
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
50
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
51
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
52 [liblink]
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
53 safe=yes
39
fd5e8bbfcb25 [svn r43] Fixed the rebuild profile to be able to build sdldemo1.
lindquist
parents: 5
diff changeset
54 oneatatime=yes
75
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
55 cmd=llvm-link -f -o=$o $i
5
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
56
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
57 libdir=
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
58 lib=
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
59 flag=
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
60
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
61
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
62 [postliblink]
75
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
63 cmd=
5
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
64
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
65
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
66 [shliblink]
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
67 shlibs=no
75
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
68 oneatatime=yes
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
69 cmd=llvm-link $i | llc -filetype=dynlib -f -o=$o
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
70
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
71 libdir=
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
72 lib=
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
73 flag=
ab8f5ec40a14 [svn r79] Updated the rebuild profile to link bitcode libraries with -lib
lindquist
parents: 39
diff changeset
74
5
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
75
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
76 [dyliblink]
3d60e549b0c2 [svn r9] added a preliminary rebuild profile. llvmdc-posix - very handy :)
lindquist
parents:
diff changeset
77 dylibs=no