From c3f5f783a2923e7842802d5cd1a932ee56c3bb45 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 25 May 2010 23:40:22 +0000 Subject: First cut at supporting .debug_loc section. This is used to track variable information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104649 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/DIE.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/CodeGen/AsmPrinter/DIE.h') diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h index 9cb8314bd9..d56c094779 100644 --- a/lib/CodeGen/AsmPrinter/DIE.h +++ b/lib/CodeGen/AsmPrinter/DIE.h @@ -315,6 +315,10 @@ namespace llvm { /// virtual void EmitValue(AsmPrinter *AP, unsigned Form) const; + /// getValue - Get MCSymbol. + /// + const MCSymbol *getValue() const { return Label; } + /// SizeOf - Determine size of label value in bytes. /// virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const; -- cgit v1.2.3-18-g5258