X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FDebugInfo%2FDWARF%2FDWARFContext.h;h=c91012bc9a240940a20be2eadac389a006940e6b;hp=ce253a05bf89f4b7c22947e0eb481c032ace59e5;hb=9baeb40c983f97ee1f92c1c18e621cce88eba599;hpb=0fd19a0c602cccdeb775831a643ac7348da2027a diff --git a/include/llvm/DebugInfo/DWARF/DWARFContext.h b/include/llvm/DebugInfo/DWARF/DWARFContext.h index ce253a05bf8..c91012bc9a2 100644 --- a/include/llvm/DebugInfo/DWARF/DWARFContext.h +++ b/include/llvm/DebugInfo/DWARF/DWARFContext.h @@ -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).