mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00
D dynamic compilation support
This commit is contained in:
parent
1c2271d00d
commit
42f283c221
41 changed files with 2058 additions and 9 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "gen/logger.h"
|
||||
#include "gen/modules.h"
|
||||
#include "gen/runtime.h"
|
||||
#include "gen/runtimecompile.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
#include "llvm/Support/ToolOutputFile.h"
|
||||
|
@ -246,6 +247,7 @@ void CodeGenerator::writeAndFreeLLModule(const char *filename) {
|
|||
ir_->replaceGlobals();
|
||||
|
||||
ir_->DBuilder.Finalize();
|
||||
generateBitcodeForRuntimeCompile(ir_);
|
||||
|
||||
emitLLVMUsedArray(*ir_);
|
||||
emitLinkerOptions(*ir_, ir_->module, ir_->context());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue