aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-10 04:01:09 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-10 04:01:09 +0000
commita945a34c736208dec10f88700ef2e3a14ac88632 (patch)
tree3d51c0939c939cb555ef303a888122e2f76516fc /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent33f793892f88dd741edbdf1f207b47b0e66f4517 (diff)
downloadllvm-a945a34c736208dec10f88700ef2e3a14ac88632.zip
llvm-a945a34c736208dec10f88700ef2e3a14ac88632.tar.gz
llvm-a945a34c736208dec10f88700ef2e3a14ac88632.tar.bz2
Revert my previous patch to make the valgrind bots happy.
llvm-svn: 121461
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index abc01a2..944ed26 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -135,7 +135,7 @@ void TargetLoweringObjectFileELF::Initialize(MCContext &Ctx,
SectionKind::getReadOnly());
EHFrameSection =
getContext().getELFSection(".eh_frame", MCSectionELF::SHT_PROGBITS,
- MCSectionELF::SHF_ALLOC,
+ MCSectionELF::SHF_ALLOC |MCSectionELF::SHF_WRITE,
SectionKind::getDataRel());
// Debug Info Sections.