[llvm] r230554 - Try to appease buildbots.
Frederic Riss
friss at apple.com
Wed Feb 25 14:07:44 PST 2015
Author: friss
Date: Wed Feb 25 16:07:43 2015
New Revision: 230554
URL: http://llvm.org/viewvc/llvm-project?rev=230554&view=rev
Log:
Try to appease buildbots.
It seems ArrayRefs to multi-dimensional arrays confuse some compilers.
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp?rev=230554&r1=230553&r2=230554&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp Wed Feb 25 16:07:43 2015
@@ -330,7 +330,7 @@ static ArrayRef<OperandType[2]> getOpera
#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();
More information about the llvm-commits
mailing list