ruiu added a comment. > Isn't --full-shutdown necessary for the leak sanitizer to work correctly? Hmm, that's probably true. I believe we do _exit in lld COFF linker. Maybe we should stop doing that as well? https://reviews.llvm.org/D43410