[all-commits] [llvm/llvm-project] c4f599: [llvm][Support] Call clear_error in LockFileManage...
Michael Spencer via All-commits
all-commits at lists.llvm.org
Sat Mar 2 02:29:21 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4f59937cae95a576635848b36a23b0d672f71d6
https://github.com/llvm/llvm-project/commit/c4f59937cae95a576635848b36a23b0d672f71d6
Author: Michael Spencer <bigcheesegs at gmail.com>
Date: 2024-03-02 (Sat, 02 Mar 2024)
Changed paths:
M llvm/lib/Support/LockFileManager.cpp
Log Message:
-----------
[llvm][Support] Call clear_error in LockFileManager to avoid report_fatal_error (#83655)
As per the comment in `raw_fd_ostream`'s destructor, you must call
`clear_error()` to prevent a call to `report_fatal_error()`. There's not
really a way to test this, but we did encounter it in the wild.
rdar://117347895
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list