[PATCH] D16588: [DebugInfo] Support zero-length CIE in the _eh_frame parser

Yunzhong Gao via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 15:28:37 PST 2016


ygao added a subscriber: ygao.

================
Comment at: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:645
@@ -649,1 +644,3 @@
+          if (Cie->getLSDAPointerEncoding() != DW_EH_PE_omit)
+            LSDA = readPointer(Data, Offset, Cie->getLSDAPointerEncoding());
 
----------------
I noticed a compile-time warning on this line:
warning: variable ‘LSDA’ set but not used [-Wunused-but-set-variable]


Repository:
  rL LLVM

http://reviews.llvm.org/D16588





More information about the llvm-commits mailing list