-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
[Debug Info][IPSCCP] DebugInfoFinder Crash #122350
Comments
@llvm/issue-subscribers-debuginfo Author: Arthur Eubanks (aeubanks)
```
$ opt -p ipsccp /tmp/d.ll -disable-output
opt: ../../llvm/include/llvm/Support/Casting.h:662: decltype(auto) llvm::dyn_cast(From *) [To = llvm::DIType, From = llvm::Metadata]: Assertion `detail::isPresent(Val) && "dyn_cast on a non-existent value"' failed.
#0 0x000055a905970478 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /usr/local/google/home/aeubanks/repos/llvm-project/build/rel/../../llvm/lib/Support/Unix/Signals.inc:723:13
|
this seems to be caused by #118710 |
At a glance, it looks like the .ll file contains a
The error definitely exists prior to the .ll being produced, which by the looks of things comes down to the libc change? It's not clear where the null element would be generated, potentially the use of opt bisect would make it clearer. Edit: Alternatively looking at the linked issue, the origin seems to be related to |
A reduced source input (rather than opt bisect) is what I'd be hoping for - knowing whether the IR clang generates is reasonable will help point us to where the fix should be (in clang or in some LLVM pass, etc) |
d.ll.txt
The text was updated successfully, but these errors were encountered: