mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
better stack traces for ELF x86_64
This commit is contained in:
1 parent
08a871f625
commit
245eed8afe
10 files changed
+573
-68
No files matched your search
+1
-1
@@ -4647,7 +4647,7 @@ static void init(CodeGen *g, Buf *source_path) {
|
||||
bool is_optimized = g->is_release_build;
|
||||
const char *flags = "";
|
||||
unsigned runtime_version = 0;
|
||||
ZigLLVMDIFile *compile_unit_file = ZigLLVMCreateFile(g->dbuilder, buf_ptr(source_path),
|
||||
ZigLLVMDIFile *compile_unit_file = ZigLLVMCreateFile(g->dbuilder, buf_ptr(g->root_out_name),
|
||||
buf_ptr(&g->root_package->root_src_dir));
|
||||
g->compile_unit = ZigLLVMCreateCompileUnit(g->dbuilder, ZigLLVMLang_DW_LANG_C99(),
|
||||
compile_unit_file, buf_ptr(producer), is_optimized, flags, runtime_version,
|
||||
|
||||
Reference in new issue
Block a user