aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/ELFWriter.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-06-19 18:37:11 +0000
committerJay Foad <jay.foad@gmail.com>2011-06-19 18:37:11 +0000
commit7d715dfe6d66be257926f626df96a0e2bd38dc1f (patch)
tree3d034a039e81d42465bbf21eabebfddee5295ca8 /lib/CodeGen/ELFWriter.h
parent9cfcc6c1e14f5dc85757223335156ac18acb9479 (diff)
Fix a FIXME by making GlobalVariable::getInitializer() return a
const Constant *. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133400 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.h')
-rw-r--r--lib/CodeGen/ELFWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ELFWriter.h b/lib/CodeGen/ELFWriter.h
index b8bac5598e..6f7fbace8a 100644
--- a/lib/CodeGen/ELFWriter.h
+++ b/lib/CodeGen/ELFWriter.h
@@ -232,7 +232,7 @@ namespace llvm {
void EmitGlobalDataRelocation(const GlobalValue *GV, unsigned Size,
ELFSection &GblS, int64_t Offset = 0);
bool EmitSpecialLLVMGlobal(const GlobalVariable *GV);
- void EmitXXStructorList(Constant *List, ELFSection &Xtor);
+ void EmitXXStructorList(const Constant *List, ELFSection &Xtor);
void EmitRelocations();
void EmitRelocation(BinaryObject &RelSec, ELFRelocation &Rel, bool HasRelA);
void EmitSectionHeader(BinaryObject &SHdrTab, const ELFSection &SHdr);