aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfException.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-16 18:37:32 +0000
committerChris Lattner <sabre@nondot.org>2010-01-16 18:37:32 +0000
commit7a2ba94d03b43f41b54872dacd7b2250dde4c7bd (patch)
treeb167011b1fa1c795bf90bb05eb25578292fdbf67 /lib/CodeGen/AsmPrinter/DwarfException.h
parent08ce3b473d06e0f7806df3d44b7b36ac40c58803 (diff)
downloadexternal_llvm-7a2ba94d03b43f41b54872dacd7b2250dde4c7bd.zip
external_llvm-7a2ba94d03b43f41b54872dacd7b2250dde4c7bd.tar.gz
external_llvm-7a2ba94d03b43f41b54872dacd7b2250dde4c7bd.tar.bz2
rename GetPrivateGlobalValueSymbolStub -> GetSymbolWithGlobalValueBase,
and add an explicit ForcePrivate argument. Switch FunctionEHFrameInfo to be MCSymbol based instead of string based. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.h b/lib/CodeGen/AsmPrinter/DwarfException.h
index aa01c5b..c674fe5 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.h
+++ b/lib/CodeGen/AsmPrinter/DwarfException.h
@@ -34,19 +34,19 @@ class raw_ostream;
///
class DwarfException : public Dwarf {
struct FunctionEHFrameInfo {
- std::string FnName;
+ const MCSymbol *FunctionEHSym; // L_foo.eh
unsigned Number;
unsigned PersonalityIndex;
bool hasCalls;
bool hasLandingPads;
std::vector<MachineMove> Moves;
- const Function * function;
+ const Function *function;
- FunctionEHFrameInfo(const std::string &FN, unsigned Num, unsigned P,
+ FunctionEHFrameInfo(const MCSymbol *EHSym, unsigned Num, unsigned P,
bool hC, bool hL,
const std::vector<MachineMove> &M,
const Function *f):
- FnName(FN), Number(Num), PersonalityIndex(P),
+ FunctionEHSym(EHSym), Number(Num), PersonalityIndex(P),
hasCalls(hC), hasLandingPads(hL), Moves(M), function (f) { }
};