summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
diff options
context:
space:
mode:
authorBrock Wyma <brock.wyma@intel.com>2018-04-16 16:53:57 +0000
committerBrock Wyma <brock.wyma@intel.com>2018-04-16 16:53:57 +0000
commit94ece8fbc961f2dedeee8d72c1950c1fa6937d04 (patch)
tree1a2b114cc1c15287704ade70e052a758642d252d /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
parent596b8b4a2268c0e60c6eb9b7147b3e423dee8a93 (diff)
downloadbcm5719-llvm-94ece8fbc961f2dedeee8d72c1950c1fa6937d04.tar.gz
bcm5719-llvm-94ece8fbc961f2dedeee8d72c1950c1fa6937d04.zip
[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 llvm-svn: 330132
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
index e58c4c666f2..e16c035cdfd 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
@@ -251,6 +251,10 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase {
void emitInlineeLinesSubsection();
+ void emitDebugInfoForThunk(const Function *GV,
+ FunctionInfo &FI,
+ const MCSymbol *Fn);
+
void emitDebugInfoForFunction(const Function *GV, FunctionInfo &FI);
void emitDebugInfoForGlobals();
OpenPOWER on IntegriCloud