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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 6 11:00:17 PST 2015


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

David Blaikie <dblaikie at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dblaikie at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from David Blaikie <dblaikie at gmail.com> ---
This is by design.

The full debug info definition for the basic_string<char> type should be found
in the debug info for your standard library (the -dbg package, usually).

If you do not have debug info for your standard library (or any other library
you are using) you can compile with -fstandalone-debug to disable this
assumption in clang.

(note that GCC does similar things in a subset of the cases that Clang does
them, try this:

#include <fstream>

int main() {
  std::ofstream o;
}

and look at the debug info for "basic_ifstream<char..." in Clang and GCC's
debug info)

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


More information about the llvm-bugs mailing list