As a prelude to the rest of DWARF5 being supported go ahead and accept

version 5 in llvm-dwarfdump.

llvm-svn: 256515
This commit is contained in:
Eric Christopher 2015-12-28 19:58:36 +00:00
parent 00049502a1
commit 8562493f6a

View 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).