diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-14 15:18:53 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-14 15:18:53 +0000 |
commit | aa2a7cd828918a4294b7186691594c2be55641d6 (patch) | |
tree | 25b4a3eda8bbdf70fd93381410f0bc5db6c07a43 /llvm/lib/Target/X86/X86MCAsmInfo.cpp | |
parent | b88784c185802276c12f17008d720498eeaf1c18 (diff) | |
download | bcm5719-llvm-aa2a7cd828918a4294b7186691594c2be55641d6.tar.gz bcm5719-llvm-aa2a7cd828918a4294b7186691594c2be55641d6.zip |
Change ELF systems to use CFI for producing the EH tables. This reduces the
size of the clang binary in Debug builds from 690MB to 679MB.
llvm-svn: 129518
Diffstat (limited to 'llvm/lib/Target/X86/X86MCAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86MCAsmInfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86MCAsmInfo.cpp b/llvm/lib/Target/X86/X86MCAsmInfo.cpp index 6686214e06f..62951897724 100644 --- a/llvm/lib/Target/X86/X86MCAsmInfo.cpp +++ b/llvm/lib/Target/X86/X86MCAsmInfo.cpp @@ -89,7 +89,9 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) { SupportsDebugInformation = true; // Exceptions handling - ExceptionsType = ExceptionHandling::DwarfTable; + ExceptionsType = ExceptionHandling::DwarfCFI; + + DwarfRequiresFrameSection = false; // OpenBSD has buggy support for .quad in 32-bit mode, just split into two // .words. |