http://llvm.org/bugs/show_bug.cgi?id=22713
Bug ID: 22713
Summary: Gold plugin crash when given old debug info
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: DebugInfo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 13951
--> http://llvm.org/bugs/attachment.cgi?id=13951&action=edit
testcase
The attached testcase is the output of "clang -gline-tables-only" on
void f(void) {}
When running
$ ld -plugin ./build/lib64/LLVMgold.so -shared 3.5.bc -o t.so
with a trunk plugin we get a crash:
/home/espindola/llvm/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1329: void
llvm::DwarfDebug::recordSourceLine(unsigned int, unsigned int, const
llvm::MDNode *, unsigned int): Assertion `Scope.isScope()' failed.
The issue is that UpgradeDebugInfo is called from MaterializeModule, which the
plugin tries very hard to avoid.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs