comparison gen/typinf.cpp @ 1064:f0b6549055ab

Make LDC work with LLVM trunk (s/LinkOnceLinkage/LinkOnceOdrLinkage/) Also moved the #defines for linkage types into a separate header instead of mars.h so we can #include revisions.h without having to rebuild the entire frontend every time we update. (I'm using revisions.h to get the LLVM revision for use in preprocessor conditionals. It should work with LLVM release 2.5, old trunk and new trunk)
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 08 Mar 2009 16:13:10 +0100
parents a4fcc13da3cd
children 1860414bf3b7
comparison
equal deleted inserted replaced
1063:40d7f9b7357f 1064:f0b6549055ab
37 #include "gen/tollvm.h" 37 #include "gen/tollvm.h"
38 #include "gen/llvmhelpers.h" 38 #include "gen/llvmhelpers.h"
39 #include "gen/arrays.h" 39 #include "gen/arrays.h"
40 #include "gen/structs.h" 40 #include "gen/structs.h"
41 #include "gen/classes.h" 41 #include "gen/classes.h"
42 #include "gen/linkage.h"
42 43
43 #include "ir/irvar.h" 44 #include "ir/irvar.h"
44 45
45 /******************************************* 46 /*******************************************
46 * Get a canonicalized form of the TypeInfo for use with the internal 47 * Get a canonicalized form of the TypeInfo for use with the internal