[LLVMbugs] [Bug 22386] New: addScopeVariable(llvm::LexicalScope*, llvm::DbgVariable*): Assertion `CurNum != ArgNum && "Duplicate argument"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jan 29 08:09:42 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22386
Bug ID: 22386
Summary: addScopeVariable(llvm::LexicalScope*,
llvm::DbgVariable*): Assertion `CurNum != ArgNum &&
"Duplicate argument"' failed.
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: DebugInfo
Assignee: unassignedbugs at nondot.org
Reporter: aprantl at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
struct A {
int arg0;
double arg1[2];
} a, b;
void fn3(A p1) {
if (p1.arg0)
a = p1;
}
void fn4() { fn3(b); }
void fn5() {
while (1)
fn4();
}
clang -cc1 -triple aarch64 -S -g -O3 -std=c++11 dbg-info.cpp
0x00000109: DW_TAG_subprogram [15] *
DW_AT_name [DW_FORM_strp] ( .debug_str[0x000000a3] =
"fn5")
...
0x00000122: DW_TAG_inlined_subroutine [13] *
DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x00fd =>
{0x000000fd} "_Z3fn4v")
...
0x00000135: DW_TAG_inlined_subroutine [16] *
DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x00b2 =>
{0x000000b2} "_Z3fn31A")
DW_AT_ranges [DW_FORM_sec_offset] (0x00000000
[0x0000000000000080 - 0x0000000000000088)
[0x0000000000000098 - 0x00000000000000a8))
DW_AT_call_file [DW_FORM_data1]
("/tmp/dbginfo/creduce/crash1/dbg-info.cpp")
DW_AT_call_line [DW_FORM_data1] (11)
0x00000140: DW_TAG_formal_parameter [10]
DW_AT_location [DW_FORM_exprloc] (<0x5> 6f 9d a0 01 20 )
DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x00be =>
{0x000000be} "p1")
0x0000014b: DW_TAG_formal_parameter [10]
DW_AT_location [DW_FORM_exprloc] (<0x5> 6f 9d a0 01 20 )
DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x00be =>
{0x000000be} "p1")
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150129/2b1dabe6/attachment.html>
More information about the llvm-bugs
mailing list