| author | |
| committer | |
| log | 6e78642d5158bdf6240c446fee5775c2888ad82e |
| tree | 4ba6ccb2854dd12c0ae5609f669be01361b80034 |
| parent | 3e9ab6aa7b2d90c25cb906d425a148abf9da3dcb |
1 files changed, 5 insertions(+), 0 deletions(-)
src/link/MachO.zig+5| ... | ... | @@ -411,6 +411,11 @@ pub fn flushModule(self: *MachO, arena: Allocator, prog_node: std.Progress.Node) |
| 411 | 411 | |
| 412 | 412 | if (module_obj_path) |path| try positionals.append(.{ .path = path }); |
| 413 | 413 | |
| 414 | // TSAN | |
| 415 | if (comp.config.any_sanitize_thread) { | |
| 416 | try positionals.append(.{ .path = comp.tsan_static_lib.?.full_object_path }); | |
| 417 | } | |
| 418 | ||
| 414 | 419 | for (positionals.items) |obj| { |
| 415 | 420 | self.parsePositional(obj.path, obj.must_link) catch |err| switch (err) { |
| 416 | 421 | error.MalformedObject, |