http://llvm.org/bugs/show_bug.cgi?id=22107
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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs