srctree

Jacob Young parent f03829a2 ebce1903
llvm: fix debug info when running tests

inlinesplit
src/codegen/llvm.zig added: 2, removed: 2, total 0
@@ -865,7 +865,7 @@ pub const Object = struct {
// a terrible tragedy.
const compile_unit_dir = blk: {
if (comp.module) |zcu| m: {
const d = try zcu.root_mod.root.joinString(arena, "");
const d = try zcu.main_mod.root.joinString(arena, "");
if (d.len == 0) break :m;
if (std.fs.path.isAbsolute(d)) break :blk d;
break :blk std.fs.realpathAlloc(arena, d) catch break :blk d;