Revert r129518, "Change ELF systems to use CFI for producing the EH tables. This reduces the"

It broke several builds.

llvm-svn: 129557
This commit is contained in:
NAKAMURA Takumi
2011-04-15 03:35:57 +00:00
parent 12bb05b75b
commit b5e3e9dd27
9 changed files with 33 additions and 91 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 & 0x70) {
switch (Encoding & 0xF0) {
default:
report_fatal_error("We do not support this DWARF encoding yet!");
case dwarf::DW_EH_PE_absptr: