diff options
-rw-r--r-- | lib/DebugInfo/DWARFFormValue.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/DebugInfo/DWARFFormValue.cpp b/lib/DebugInfo/DWARFFormValue.cpp index 2ee393494e..c28f0dd599 100644 --- a/lib/DebugInfo/DWARFFormValue.cpp +++ b/lib/DebugInfo/DWARFFormValue.cpp @@ -22,7 +22,9 @@ using namespace dwarf; namespace { template <uint8_t AddrSize, uint8_t RefAddrSize> struct FixedFormSizes { - static const uint8_t sizes[]; + // FIXME: do we need a template here? Will a stack-allocated struct with + // an initializer in getFixedFormSizes() work just fine? + static const uint8_t sizes[27]; }; } |