Allow 4 as a valid debug info version.

llvm-svn: 187763
This commit is contained in:
Eric Christopher 2013-08-06 01:38:27 +00:00
parent 39a1e507ff
commit f7d848d0b9
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public:
virtual const RelocAddrMap &infoDWORelocMap() const = 0;
static bool isSupportedVersion(unsigned version) {
return version == 2 || version == 3;
return version == 2 || version == 3 || version == 4;
}
private:
/// Return the compile unit that includes an offset (relative to .debug_info).