I am using zig as my build system for my c project. I need an address sanitizer for debugging, however when i use the -fsanitize=address flag in the addCSourceFile function and try to build, I get lld-link errors like so:
error: lld-link: undefined symbol: __asan_handle_no_return
error: lld-link: undefined symbol: __asan_report_store8
... 15 more
I haven’t found any solutions for windows. Maybe I have to link against something to make this work, but I don’t exactly know.