https://llvm.org/bugs/show_bug.cgi?id=26833
Bug ID: 26833 Summary: [CodeView] assertion after optimizing code with debug info Product: new-bugs Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: r.sagita...@gmx.de CC: llvm-bugs@lists.llvm.org Classification: Unclassified The attached IR compiles fine with "llc", but triggers an assertion if optimized before with "opt -O2": Assertion failed: cast<DISubprogram>(Scope)->describes(MF->getFunction()), file C:\s\d\ldc\llvm\lib\CodeGen\LexicalScopes.cpp, line 160 Strangely, it doesn't assert with "llc -O2". The same compiles without debug info. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs