[LLVMbugs] [Bug 13518] Debug info for the constructor of a templated class emits file for prototype instead of definition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Apr 11 17:28:28 PDT 2014


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

Eric Christopher <echristo at gmail.com> changed:

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

--- Comment #6 from Eric Christopher <echristo at gmail.com> ---
dzur:~/tmp> ~/builds/build-llvm/Debug+Asserts/bin/clang -g Test.cpp 
dzur:~/tmp> gdb a.out
(gdb) run
Starting program: a.out 

Program received signal SIGSEGV, Segmentation fault.
Test<int>::Test (this=0x7fffffffe2b8) at Test.cpp:5
5      *((T *)1) = 0;
(gdb) bt
#0  Test<int>::Test (this=0x7fffffffe2b8) at Test.cpp:5
#1  0x0000000000400588 in main () at Test.cpp:9

Seems reasonable.

-- 
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/06f44c0d/attachment.html>


More information about the llvm-bugs mailing list