aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-13 21:19:56 +0000
committerDevang Patel <dpatel@apple.com>2009-07-13 21:19:56 +0000
commit7597a6252b29f76c7e65351ef85918d1769713bb (patch)
treebdacdbbf029d99814fb39e99ffcd2acfedd5d97a /lib/CodeGen/AsmPrinter/DwarfDebug.h
parenta5c783280f83df5c60a8ed9e32c61b05a11048e3 (diff)
Use Mangler to remove leading '1' from linkage names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75503 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index a4072f5ce9..78260e5642 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -20,6 +20,7 @@
#include "llvm/CodeGen/MachineLocation.h"
#include "llvm/Analysis/DebugInfo.h"
#include "llvm/Support/raw_ostream.h"
+#include "llvm/Support/Mangler.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/SmallSet.h"
@@ -179,7 +180,9 @@ class VISIBILITY_HIDDEN DwarfDebug : public Dwarf {
/// DebugTimer - Timer for the Dwarf debug writer.
Timer *DebugTimer;
-
+
+ Mangler *LLVMMangler;
+
struct FunctionDebugFrameInfo {
unsigned Number;
std::vector<MachineMove> Moves;