[PATCH] D25997: Call _exit

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 15 05:44:38 PST 2016


On 15 November 2016 at 05:20, Malcolm Parsons <malcolm.parsons at gmail.com> wrote:
> malcolm.parsons added a comment.
>
> In https://reviews.llvm.org/D25997#593232, @ruiu wrote:
>
>> What is better in quick_exit than _exit?
>
>
> It calls functions registered with at_quick_exit().
> e.g. it could call llvm_shutdown().

For now it seems easier to just call llvm_shutdown instead of
at_quick_exit(llvm_shutdown), but we should keep the idea in mind in
case we grow more dependencies.

Thanks,
Rafael


More information about the llvm-commits mailing list