From: Frederic Riss Date: Wed, 25 Feb 2015 22:07:43 +0000 (+0000) Subject: Try to appease buildbots. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c0f0498636a89623b123ee4b389a7a41c372c76f;p=oota-llvm.git 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 --- 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();