| author | |
| committer | |
| log | 2ce057addfa2d53434f9dfa58bf4c62d2b6a308e |
| tree | bb8c5a5c6dc349d5fda2cfcb8312abacd8bb6468 |
| parent | 37ba5b8812a1add16e44f658d2aa7c5551aacd47 |
| signature | Commit is signed but in an unrecognized format. |
This function is only applicable when a self-hosted backend is being
used to codegen the ZCU.1 files changed, 1 insertions(+), 0 deletions(-)
src/link.zig+1| ... | @@ -964,6 +964,7 @@ pub const File = struct { | ... | @@ -964,6 +964,7 @@ pub const File = struct { |
| 964 | } | 964 | } |
| 965 | 965 | ||
| 966 | pub fn updateErrorData(base: *File, pt: Zcu.PerThread) Error!void { | 966 | pub fn updateErrorData(base: *File, pt: Zcu.PerThread) Error!void { |
| 967 | if (base.comp.zcu.?.llvm_object != null) return; | ||
| 967 | switch (base.tag) { | 968 | switch (base.tag) { |
| 968 | else => {}, | 969 | else => {}, |
| 969 | inline .elf2, .coff, .macho2 => |tag| { | 970 | inline .elf2, .coff, .macho2 => |tag| { |