We were dereferencing an empty Optional if IgnoreErrors was true and the
stat failed.
rdar://60887887
Paths
| Differential D131791
[llvm] Fix assertion when stat fails in remove_directories ClosedPublic Authored by benlangmuir on Aug 12 2022, 10:23 AM.
Details Summary We were dereferencing an empty Optional if IgnoreErrors was true and the rdar://60887887
Diff Detail Event TimelineThis revision is now accepted and ready to land.Aug 12 2022, 11:29 AM Closed by commit rG79f34ae7fe92: [llvm] Fix assertion when stat fails in remove_directories (authored by benlangmuir). · Explain WhyAug 12 2022, 11:35 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 452218 llvm/lib/Support/Unix/Path.inc
llvm/unittests/Support/Path.cpp
|