[PATCH] D37852: [dwarfdump] Make .eh_frame a first class citizen

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 11:20:42 PDT 2017


rnk added inline comments.


================
Comment at: lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:191-200
+          // FIXME: Parse the actual instruction.
+          *Offset += Data.getULEB128(Offset);
+          break;
         case DW_CFA_expression:
-        case DW_CFA_val_expression:
-          // TODO: implement this
-          report_fatal_error("Values with expressions not implemented yet!");
+        case DW_CFA_val_expression: {
+          // FIXME: Parse the actual instruction.
+          Data.getULEB128(Offset);
----------------
Why does this need to be part of this change? It seems nicer to commit this without the change, XFAIL or workaround whatever test relies on these, and implement the DW_OP expression machine in a follow-up change.


Repository:
  rL LLVM

https://reviews.llvm.org/D37852





More information about the llvm-commits mailing list