Closed nyankers closed 2 years ago
The LLVM team is funny about that. I reported a similar bug early in the development of the JIT compiler, and they didn't look into it for two years. I suppose they consider .ll
files an "internal" format, extensive documentation and spammy diagnostic crash messages notwithstanding.
I've reproduced the crash.
This is actually the same crasher that I've reported, cropping up again... triggered by a bug in the JIT compiler.
Hmmm, I thought other languages compile into .ll
too. If that's their perspective, maybe C-based JIT would be more stable. Maybe I'll play around with that someday, the trouble I ran into with .ll
-related stuff is I eventually got it to crash, but I know C a fair bit better.
Looks like it's fixed now, thanks! ^^
I've been able to create a relatively small code example (from an originally much longer program) that causes clang to crash:
This actually causes clang to give a seg fault, so in my opinion, it seems like a clang issue rather than just a dgd issue (even if it's malformed, it shouldn't seg fault...), but you mentioned wanting such reports.
Let me know if you have trouble reproducing it, and I can try to give more details.