[PATCH] D97345: Improve the debug info for coro-split .resume functions
Yifeng Dong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 03:43:34 PST 2021
dongAxis1944 added a comment.
@aprantl
hello, this patch might cause debug llvm crash, the backtrace is :
#0 0x00007ffff672f8af in raise () from /lib64/libc.so.6
#1 0x00007ffff67314aa in abort () from /lib64/libc.so.6
#2 0x00007ffff6727d37 in __assert_fail_base () from /lib64/libc.so.6
#3 0x00007ffff6727de2 in __assert_fail () from /lib64/libc.so.6
#4 0x00000000063af226 in llvm::DwarfUnit::applySubprogramDefinitionAttributes (this=0x13e3f980, SP=0x13fdd8f0, SPDie=...) at /disk1/yifeng.dongyifeng/my_code/llvm/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp:1169
#5 0x00000000063af368 in llvm::DwarfUnit::applySubprogramAttributes (this=0x13e3f980, SP=0x13fdd8f0, SPDie=..., SkipSPAttributes=false) at /disk1/yifeng.dongyifeng/my_code/llvm/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp:1193
#6 0x0000000006435376 in llvm::DwarfCompileUnit::applySubprogramAttributesToDefinition (this=0x13e3f980, SP=0x13fdd8f0, SPDie=...) at /disk1/yifeng.dongyifeng/my_code/llvm/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp:1448
the following assert will be triggle if the link name dose not match decl name:
1169 assert(((LinkageName.empty() || DeclLinkageName.empty()) ||
1170 LinkageName == DeclLinkageName) &&
1171 "decl has a linkage name and it is different");
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97345/new/
https://reviews.llvm.org/D97345
More information about the llvm-commits
mailing list