diff options
author | Michael Spencer <bigcheesegs@gmail.com> | 2024-03-02 02:29:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-02 02:29:08 -0800 |
commit | c4f59937cae95a576635848b36a23b0d672f71d6 (patch) | |
tree | b7cd4830ce1b8f9b0a955611d2e8a1c5287df764 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | b14220e075fe47f4d61632e80a6d0a4a955a7c97 (diff) | |
download | llvm-c4f59937cae95a576635848b36a23b0d672f71d6.zip llvm-c4f59937cae95a576635848b36a23b0d672f71d6.tar.gz llvm-c4f59937cae95a576635848b36a23b0d672f71d6.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions