diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-09 23:48:29 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-09 23:48:29 +0000 |
commit | 56eb7412370ba82756913f9f6003f93770a2741f (patch) | |
tree | b0f3431e9be319e0bc22420cd262c2d954048818 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | afcfae5f16f81a38cf4682a860a032aa997ca736 (diff) | |
download | llvm-56eb7412370ba82756913f9f6003f93770a2741f.zip llvm-56eb7412370ba82756913f9f6003f93770a2741f.tar.gz llvm-56eb7412370ba82756913f9f6003f93770a2741f.tar.bz2 |
Initial support for the cfi directives. This is just enough to get
f:
.cfi_startproc
nop
.cfi_endproc
assembled (on ELF).
llvm-svn: 121434
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 944ed26..abc01a2 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_WRITE, + MCSectionELF::SHF_ALLOC, SectionKind::getDataRel()); // Debug Info Sections. |