[LLVMbugs] [Bug 14966] A debug info issue when passing a struct by value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 11 19:44:26 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=14966

Eric Christopher <echristo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Eric Christopher <echristo at gmail.com> ---
Appears fixed if you'd like to verify:

Breakpoint 1, main () at z.cpp:11
11      S s = { A_1, 1, {(const void*)10, (const void*)20, (const void*)30} };
(gdb) n
12      f1(s);
(gdb) s
f1 (s=...) at z.cpp:7
7      return f2(s);
(gdb) p s
$1 = {a = A_1, b = 1, c = {0xa, 0x14, 0x1e}}
(gdb) s
f2 (s=...) at zz.cpp:5
5      return s.c[2];
(gdb) s
main () at z.cpp:13
13    }
(gdb) p s
$2 = {a = A_1, b = 1, c = {0xa, 0x14, 0x1e}}
(gdb) s

-- 
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/20140412/901cd9a4/attachment.html>


More information about the llvm-bugs mailing list