[PATCH] D53968: [LLD]fix windows mingw build with 'LLVM_LINK_LLVM_DYLIB' the lld will hang when exiting

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 5 02:03:02 PST 2018


ruiu added a comment.

> I think this one might be correct in general though (for any other tool that uses the LLVM internals built into a separate DLL), but for LLD for wanting to exit quickly, should there be a way to tell the ThreadPoolExecutor object to skip any cleanup in the destructor?

Yeah I guess so. The point of existing as quickly as possible if we decide to exit is to minimize the latency for interactive users, and I think if we can achieve that goal by introducing some mechanism, it's probably worth it.


Repository:
  rL LLVM

https://reviews.llvm.org/D53968





More information about the llvm-commits mailing list