-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llvm_unreachable when processing comment & line continuation #62054
Comments
@llvm/issue-subscribers-clang-frontend |
Confirmed |
CC @cor3ntin I think you recently modified the code around this crash maybe you have an idea what is going on. |
@shafik I think this is prexisting
I'm playing with seeking backward through the splice to find the |
Sorry, I forgot to mention this isn't reporting a recent regression. I just found this recently in an LLDB fuzzing report (which uses Clang libraries for expression evaluation). The oldest clang+asserts binary I have on hand is from 2019 (r374907 / 84423bd) and the issue reproduces there. |
That is good to know, we don't mind bug found via fuzzing as long as they are curated to avoid a lot of noise and the volume is not too high. |
Because the comment parser does not support slices, we emit a warning for comments that do contain a splice within their delimiter, and do not add them as documentation comment. Fixes llvm#62054 Reviewed By: shafik, aaron.ballman Differential Revision: https://reviews.llvm.org/D148029
Crash when processing an "almost trailing comment" line:
https://godbolt.org/z/ehPM8f1ob
->
The text was updated successfully, but these errors were encountered: