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 assertion wrt. debuginfos and optimizing/inlining #1989
Comments
Thanks for the report, but I didn't have any success last time I played around with one of those minidumps. A testcase would be much more preferrable. And what exactly do you mean by 'release-debug' build? Something like |
release-debug switch in dub |
To reproduce:
Just checked, dmd fails here with following error: ..\..\plugins\voxelman\world\mesh\sidemeshers\utils.d(147,6): Error: function voxelman.world.mesh.sidemeshers.utils.meshColoredQuad!(true, ubyte).meshColoredQuad cannot inline function
..\..\plugins\voxelman\world\mesh\sidemeshers\utils.d(147,6): Error: function voxelman.world.mesh.sidemeshers.utils.meshColoredQuad!(false, ubyte).meshColoredQuad cannot inline function
..\..\plugins\voxelman\world\mesh\meshgenerator.d(29,6): Error: function voxelman.world.mesh.meshgenerator.genGeometry cannot inline function |
Reproducible on Win64 with current voxelman src, current LDC master and LLVM 4.0. May be an LLVM bug, potentially caused by weird debuginfo emission on the LDC side. Call stack (RelWithDebInfo) with LLVM symbols:
The command line length is 6K... ;) |
In master 3025.
Happens only in release-debug build
Assertion failed: (!Node || ResNo < Node->getNumValues()) && "Invalid result number for the given node!", file C:\LDC\llvm\include\llvm/CodeGen/SelectionDAGNodes.h, line 864
Wrote crash dump file "C:\Users\andrey\AppData\Local\Temp\ldc2.exe-dcf85a.dmp"
ldc2.exe-dcf85a.dmp.txt
Remove
.txt from file name
The text was updated successfully, but these errors were encountered: