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.
This commit is contained in:
Frits van Bommel
2009-06-07 16:00:13 +02:00
parent b972dcb92d
commit 96fdcd6347
15 changed files with 201 additions and 9 deletions

View File

@@ -42,6 +42,7 @@
#include "gen/linkage.h"
#include "gen/metadata.h"
#include "gen/rttibuilder.h"
#include "gen/llvm-version.h"
#include "ir/irvar.h"
#include "ir/irtype.h"