[PATCH] D102944: [Windows] Use TerminateProcess to exit without running destructors

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 23:20:53 PDT 2021


mstorsjo added a comment.

In D102944#2774998 <https://reviews.llvm.org/D102944#2774998>, @mati865 wrote:

> Feels like a heavy hammer to me but guess there is no better option.

Well the whole early exit codepath in lld is a pretty special construct too, and I guess this is the closest match to the wanted behavior of ‘_Exit’ on windows...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102944/new/

https://reviews.llvm.org/D102944



More information about the llvm-commits mailing list