As a prelude to the rest of DWARF5 being supported go ahead and accept
[oota-llvm.git] / include / llvm / DebugInfo / DWARF / DWARFContext.h
index ce253a05bf89f4b7c22947e0eb481c032ace59e5..c91012bc9a240940a20be2eadac389a006940e6b 100644 (file)
@@ -218,7 +218,7 @@ public:
   virtual StringRef getTUIndexSection() = 0;
 
   static bool isSupportedVersion(unsigned version) {
-    return version == 2 || version == 3 || version == 4;
+    return version == 2 || version == 3 || version == 4 || version == 5;
   }
 private:
   /// Return the compile unit that includes an offset (relative to .debug_info).