Try to appease buildbots.
It seems ArrayRefs to multi-dimensional arrays confuse some compilers.
llvm-svn: 230554
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
index 1585c47..524d728 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
@@ -330,7 +330,7 @@
#undef DECLARE_OP0
#undef DECLARE_OP1
#undef DECLARE_OP2
- return OpTypes;
+ return ArrayRef<OperandType[2]>(&OpTypes[0], DW_CFA_restore+1);
}
static ArrayRef<OperandType[2]> OpTypes = getOperandTypes();