aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfException.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-23 05:51:36 +0000
committerChris Lattner <sabre@nondot.org>2010-01-23 05:51:36 +0000
commitd7b6c9c54d0cd4a1b92679f85f89fdd90782125a (patch)
tree1eba2579597f6e068b243e3c3593a004c2f788b3 /lib/CodeGen/AsmPrinter/DwarfException.h
parentf926642c4d4f1eb3ecf7278bb7552a9897d7e45e (diff)
downloadexternal_llvm-d7b6c9c54d0cd4a1b92679f85f89fdd90782125a.tar.gz
external_llvm-d7b6c9c54d0cd4a1b92679f85f89fdd90782125a.tar.bz2
external_llvm-d7b6c9c54d0cd4a1b92679f85f89fdd90782125a.zip
mcstreamerize .no_dead_strip and .reference for static ctors/dtors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.h b/lib/CodeGen/AsmPrinter/DwarfException.h
index 143e0e02d5..3921e91ea5 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.h
+++ b/lib/CodeGen/AsmPrinter/DwarfException.h
@@ -34,7 +34,7 @@ class raw_ostream;
///
class DwarfException : public DwarfPrinter {
struct FunctionEHFrameInfo {
- const MCSymbol *FunctionEHSym; // L_foo.eh
+ MCSymbol *FunctionEHSym; // L_foo.eh
unsigned Number;
unsigned PersonalityIndex;
bool hasCalls;
@@ -42,7 +42,7 @@ class DwarfException : public DwarfPrinter {
std::vector<MachineMove> Moves;
const Function *function;
- FunctionEHFrameInfo(const MCSymbol *EHSym, unsigned Num, unsigned P,
+ FunctionEHFrameInfo(MCSymbol *EHSym, unsigned Num, unsigned P,
bool hC, bool hL,
const std::vector<MachineMove> &M,
const Function *f):