[PATCH] D46442: Do not call exit() directly from lld.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 4 15:01:58 PDT 2018


ruiu added a comment.

_exit() doesn't flush the buffer indeed. So it is likely that the `LTO` object holds file handles until it is destroyed. Maybe we should call the destructor before returning. Let me try that.

Do you know how I can test it?


https://reviews.llvm.org/D46442





More information about the llvm-commits mailing list