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
This commit is contained in:
Devang Patel
2009-07-13 21:19:56 +00:00
parent a5c783280f
commit 7597a6252b
2 changed files with 19 additions and 4 deletions

View File

@@ -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;