diff options
author | Frederic Riss <friss@apple.com> | 2015-02-25 22:07:43 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2015-02-25 22:07:43 +0000 |
commit | ac10b0d61da71ff72fe167e6e29f0dd2e8043131 (patch) | |
tree | 73d2b47d2da868f964e79851e00239dc1295acf7 /llvm/lib/DebugInfo | |
parent | cf5992167015fa7b7c084188acb97a7720cfb808 (diff) | |
download | bcm5719-llvm-ac10b0d61da71ff72fe167e6e29f0dd2e8043131.tar.gz bcm5719-llvm-ac10b0d61da71ff72fe167e6e29f0dd2e8043131.zip |
Try to appease buildbots.
It seems ArrayRefs to multi-dimensional arrays confuse some compilers.
llvm-svn: 230554
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp index 1585c4716b4..524d7284665 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp @@ -330,7 +330,7 @@ static ArrayRef<OperandType[2]> getOperandTypes() { #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(); |