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 2ee8d113cd
commit c5f9312717

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