summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2016-09-20 17:20:51 +0000
committerAdrian McCarthy <amccarth@google.com>2016-09-20 17:20:51 +0000
commitc64acfd4c26eb7dd876433e2033cffca679e2791 (patch)
tree96f0c008d54a1afc141fbe42deb782ebf486ee1f /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
parentdb62cbb97f144a1f884621bf5cd6e361f17ff8f2 (diff)
downloadbcm5719-llvm-c64acfd4c26eb7dd876433e2033cffca679e2791.tar.gz
bcm5719-llvm-c64acfd4c26eb7dd876433e2033cffca679e2791.zip
Emit S_COMPILE3 CodeView record
CodeView has an S_COMPILE3 record to identify the compiler and source language of the compiland. This record comes first in the debug$S section for the compiland. The debuggers rely on this record to know the source language of the code. There was a little test fallout from introducing a new record into the symbols subsection. Differential Revision: https://reviews.llvm.org/D24317 llvm-svn: 281990
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
index 0149af5e84f..25b3f2c3a95 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
@@ -191,6 +191,8 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase {
void emitTypeInformation();
+ void emitCompilerInformation();
+
void emitInlineeLinesSubsection();
void emitDebugInfoForFunction(const Function *GV, FunctionInfo &FI);
OpenPOWER on IntegriCloud