aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-05-05 18:43:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-05-05 18:43:39 +0000
commit7af1a593821c133e082a24c429ddd722e94fb0ed (patch)
tree0edfcc0ed40fd4c85067ad0979d0369f80f37ece /lib/MC/MCAsmInfo.cpp
parent300c1a11c8034e48dd343c89594bc320eb7ba0ae (diff)
downloadexternal_llvm-7af1a593821c133e082a24c429ddd722e94fb0ed.zip
external_llvm-7af1a593821c133e082a24c429ddd722e94fb0ed.tar.gz
external_llvm-7af1a593821c133e082a24c429ddd722e94fb0ed.tar.bz2
Don't produce a __debug_frame.
I tested both gdb on a bootstrapped clang and and the gdb testsuite on OS X (snow leopard) and both are happy using __eh_frame. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfo.cpp')
-rw-r--r--lib/MC/MCAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfo.cpp b/lib/MC/MCAsmInfo.cpp
index c6d6c1b..5bb3803 100644
--- a/lib/MC/MCAsmInfo.cpp
+++ b/lib/MC/MCAsmInfo.cpp
@@ -74,7 +74,7 @@ MCAsmInfo::MCAsmInfo() {
HasLEB128 = false;
SupportsDebugInformation = false;
ExceptionsType = ExceptionHandling::None;
- DwarfRequiresFrameSection = true;
+ DwarfRequiresFrameSection = false;
DwarfUsesInlineInfoSection = false;
DwarfRequiresRelocationForStmtList = true;
DwarfSectionOffsetDirective = 0;