OSDN Git Service

Attempt to fix inscrutible build break...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 16 Nov 2017 22:40:02 +0000 (22:40 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 16 Nov 2017 22:40:02 +0000 (22:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318463 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/ARMEHABIPrinter.h

index 813ac2b..4417aa6 100644 (file)
@@ -93,7 +93,7 @@ inline ArrayRef<OpcodeDecoder::RingEntry> OpcodeDecoder::ring() {
       {0xf8, 0xd0, &OpcodeDecoder::Decode_11010nnn},
       {0xc0, 0xc0, &OpcodeDecoder::Decode_11xxxyyy},
   };
-  return Ring;
+  return makeArrayRef(Ring);
 }
 
 inline void OpcodeDecoder::Decode_00xxxxxx(const uint8_t *Opcodes,