[all-commits] [llvm/llvm-project] a39eba: [Support] [Windows] Use RemoveFileOnSignal if unab...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Nov 3 12:31:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a39eba720744e6936cbf4ea6cc0a7fb1d7527e57
      https://github.com/llvm/llvm-project/commit/a39eba720744e6936cbf4ea6cc0a7fb1d7527e57
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M llvm/lib/Support/Path.cpp

  Log Message:
  -----------
  [Support] [Windows] Use RemoveFileOnSignal if unable to use the delete-on-close flag

This takes care of cleaning up the temp files on crashes. It doesn't
handle cleanup when explicitly killed though.

Differential Revision: https://reviews.llvm.org/D112710




More information about the All-commits mailing list