comparison dmd/mars.h @ 1482:d9c5f5a43403

Run `semantic3` on imported modules, and emit new symbols with `available_externally` linkage. This allows the inliner to inline functions from other modules while telling the code generator to ignore those functions (treat them as declarations) Still generates a few extra `TypeInfo`s and strings... Disabled when generating debug info because I don't really understand it, and it doesn't like this.
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 07 Jun 2009 16:00:13 +0200
parents 1311dabc6a1f
children 7f728c52e63c
comparison
equal deleted inserted replaced
1481:e0f03e11cdf8 1482:d9c5f5a43403
235 OUTPUTFLAG output_s; 235 OUTPUTFLAG output_s;
236 OUTPUTFLAG output_o; 236 OUTPUTFLAG output_o;
237 bool llvmAnnotate; 237 bool llvmAnnotate;
238 bool useInlineAsm; 238 bool useInlineAsm;
239 bool verbose_cg; 239 bool verbose_cg;
240 bool useAvailableExternally;
240 241
241 // target stuff 242 // target stuff
242 const char* llvmArch; 243 const char* llvmArch;
243 const char *targetTriple; 244 const char *targetTriple;
244 const char *dataLayout; 245 const char *dataLayout;