[llvm-bugs] [Bug 44625] segfault with -ftime-trace when output file cannot be opened

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Mar 6 05:03:54 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=44625

Jonathan Poelen <jonathan.poelen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Jonathan Poelen <jonathan.poelen at gmail.com> ---
Fixed with clang-11 (maybe 10):

$ clang++ -ftime-trace -c a.cpp -o folder_that_does_not_exist/a.o
error: unable to open output file 'folder_that_does_not_exist/a.o': 'No such
file or directory'
1 error generated.
error: unable to open output file 'folder_that_does_not_exist/a.json': 'No such
file or directory'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210306/d4037c20/attachment.html>


More information about the llvm-bugs mailing list