From a4982bddf3a1593f73f473878220087c9841efa4 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 5 May 2011 18:43:39 +0000 Subject: 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. llvm-svn: 130937 --- llvm/lib/MC/MCAsmInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/MC/MCAsmInfo.cpp') diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp index c6d6c1b2134..5bb380399f9 100644 --- a/llvm/lib/MC/MCAsmInfo.cpp +++ b/llvm/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; -- cgit v1.2.3