[LLVMbugs] [Bug 22107] New: No debug information for string, char types.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 6 10:57:04 PST 2015


            Bug ID: 22107
           Summary: No debug information for string, char types.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nikolay at roguewave.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Consider following target: 
#include <stdarg.h>
#include <iostream>
#include <string>

using namespace std;

int main()
  string s1 = "Hello";
 return 0;

In this case if you try to use any debugger, the type is s1 is opaque, because
there is no specification for type string. Only declaration:

 <2><89>: Abbrev Number: 9 (DW_TAG_class_type)
    <8a>   DW_AT_name        : (indirect string, offset: 0xf9):
basic_string<char, std::char_traits<char>, std::allocator<char> >    
    <8e>   DW_AT_declaration : 1

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/20150106/a02600d0/attachment.html>

More information about the llvm-bugs mailing list