Add 129518 back with a fix for when we are producing eh just because of debug info.
[oota-llvm.git] / lib / Target / TargetLoweringObjectFile.cpp
index 5d34c7d7fa3da734eb3fcb357e21c20827ec727f..7eeec5dda46deb1fd40fc99a9c8ca691d0bc771d 100644 (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: