[LLVMbugs] [Bug 20141] New: Unable to print std::string types while debugging

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 26 15:00:00 PDT 2014


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

            Bug ID: 20141
           Summary: Unable to print std::string types while debugging
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: echristo at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

No time to look at this at the moment, but filing so I don't forget:

gdb --args
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llc
/usr/local/google/home/echristo/sources/llvm/test/CodeGen/ARM/cmn.ll -mtriple
thumbv7-apple-ios
(gdb) b llc.cpp:254
Breakpoint 1 at 0x6cc002: file
/usr/local/google/home/echristo/sources/llvm/tools/llc/llc.cpp, line 254.
(gdb) run
Starting program:
/usr/local/google/home/echristo/builds/build-llvm/Debug+Asserts/bin/llc
/usr/local/google/home/echristo/sources/llvm/test/CodeGen/ARM/cmn.ll -mtriple
thumbv7-apple-ios
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, compileModule (argv=0x7fffffffe0c8, Context=...)
    at /usr/local/google/home/echristo/sources/llvm/tools/llc/llc.cpp:254
254      const Target *TheTarget = TargetRegistry::lookupTarget(MArch,
TheTriple,
(gdb) ptype Error
type = class std::basic_string<char, std::char_traits<char>,
std::allocator<char> > {
    <incomplete type>
}

-- 
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/20140626/d81a3d95/attachment.html>


More information about the llvm-bugs mailing list