OSDN Git Service

[CodeView] Initial support for emitting S_THUNK32 symbols for compiler...
authorBrock Wyma <brock.wyma@intel.com>
Mon, 16 Apr 2018 16:53:57 +0000 (16:53 +0000)
committerBrock Wyma <brock.wyma@intel.com>
Mon, 16 Apr 2018 16:53:57 +0000 (16:53 +0000)
commit8af1bad853e0af52df47933e917856e0db12467c
tree1b417259a4f3c42b34167df3434623206dbdf85c
parentb1bd1633f1a0a8bf99aa4ad7a95db80aad0faf22
[CodeView] Initial support for emitting S_THUNK32 symbols for compiler...

When emitting CodeView debug information, compiler-generated thunk routines
should be emitted using S_THUNK32 symbols instead of S_GPROC32_ID symbols so
Visual Studio can properly step into the user code.  This initial support only
handles standard thunk ordinals.

Differential Revision: https://reviews.llvm.org/D43838

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330132 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfoFlags.def
include/llvm/IR/DebugInfoMetadata.h
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/CodeGen/AsmPrinter/CodeViewDebug.h
lib/DebugInfo/CodeView/SymbolDumper.cpp
test/DebugInfo/COFF/thunk.ll [new file with mode: 0644]