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
This commit is contained in:
Rafael Espindola
2011-04-14 15:18:53 +00:00
parent b88784c185
commit aa2a7cd828
9 changed files with 91 additions and 33 deletions

View File

@@ -314,7 +314,7 @@ getExprForDwarfReference(const MCSymbol *Sym, Mangler *Mang,
MCStreamer &Streamer) const {
const MCExpr *Res = MCSymbolRefExpr::Create(Sym, getContext());
switch (Encoding & 0xF0) {
switch (Encoding & 0x70) {
default:
report_fatal_error("We do not support this DWARF encoding yet!");
case dwarf::DW_EH_PE_absptr: