From 81537b5c8e6a75a97d9f5cbbb0264cbf7c4a30f8 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Tue, 25 Nov 2014 06:59:35 +0000 Subject: [PATCH] docs: Update the MSVCCompatibility doc for changes to debug info The document should reflect that we now support emission for DWARF. llvm-svn: 222731 --- clang/docs/MSVCCompatibility.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/clang/docs/MSVCCompatibility.rst b/clang/docs/MSVCCompatibility.rst index 32efb76..4dfaab8 100644 --- a/clang/docs/MSVCCompatibility.rst +++ b/clang/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. -- 2.7.4