From c0f0498636a89623b123ee4b389a7a41c372c76f Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Wed, 25 Feb 2015 22:07:43 +0000 Subject: [PATCH] Try to appease buildbots. It seems ArrayRefs to multi-dimensional arrays confuse some compilers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230554 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp index 1585c4716b4..524d7284665 100644 --- a/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp +++ b/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp @@ -330,7 +330,7 @@ static ArrayRef getOperandTypes() { #undef DECLARE_OP0 #undef DECLARE_OP1 #undef DECLARE_OP2 - return OpTypes; + return ArrayRef(&OpTypes[0], DW_CFA_restore+1); } static ArrayRef OpTypes = getOperandTypes(); -- 2.34.1