From: David Majnemer Date: Tue, 25 Nov 2014 06:59:35 +0000 (+0000) Subject: docs: Update the MSVCCompatibility doc for changes to debug info X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abd0d9f276191ff6f6e4c0306c0926215e14a377;p=clang docs: Update the MSVCCompatibility doc for changes to debug info The document should reflect that we now support emission for DWARF. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222731 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/MSVCCompatibility.rst b/docs/MSVCCompatibility.rst index 32efb76db2..4dfaab8846 100644 --- a/docs/MSVCCompatibility.rst +++ b/docs/MSVCCompatibility.rst @@ -72,11 +72,14 @@ The status of major ABI-impacting C++ features: .. _/vm: http://msdn.microsoft.com/en-us/library/yad46a6z.aspx .. _pointer to a member of a virtual base class: http://llvm.org/PR15713 -* Debug info: :partial:`Minimal`. Clang emits CodeView line tables into the - object file, similar to what MSVC emits when given the ``/Z7`` flag. - Microsoft's link.exe will read this information and use it to create a PDB, +* Debug info: :partial:`Minimal`. Clang emits both CodeView line tables + (similar to what MSVC emits when given the ``/Z7`` flag) and DWARF debug + information into the object file. + Microsoft's link.exe will transform the CodeView line tables into a PDB, enabling stack traces in all modern Windows debuggers. Clang does not emit - any type info or description of variable layout. + any CodeView-compatible type info or description of variable layout. + Binaries linked with either binutils' ld or LLVM's lld should be usable with + GDB however sophisticated C++ expressions are likely to fail. * RTTI: :good:`Complete`. Generation of RTTI data structures has been finished, along with support for the ``/GR`` flag.