We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9cd2b3 commit 4a1f0ceCopy full SHA for 4a1f0ce
src/codegen/codegen.cpp
@@ -356,7 +356,7 @@ codegen::Context::Context(ast::Ast& ast) : ast(ast) {
356
357
// Create llvm context
358
this->context = new llvm::LLVMContext();
359
- this->module = new llvm::Module("My cool jit", *(this->context));
+ this->module = new llvm::Module(ast.module_path.filename().c_str(), *(this->context));
360
this->builder = new llvm::IRBuilder(*(this->context));
361
362
// Add function pass optimizations
0 commit comments