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 bd58d87Copy full SHA for bd58d87
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(llvm::StringRef(ast.module_path.filename()), *(this->context));
360
this->builder = new llvm::IRBuilder(*(this->context));
361
362
// Add function pass optimizations
0 commit comments