From: Eric Christopher Date: Tue, 6 Aug 2013 01:38:27 +0000 (+0000) Subject: Allow 4 as a valid debug info version. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=99c22aaeed3d519c0ec958c77aa35aad2e3b0ae9;p=oota-llvm.git Allow 4 as a valid debug info version. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187763 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/DebugInfo/DWARFContext.h b/lib/DebugInfo/DWARFContext.h index af9965fd1d3..058476e34d3 100644 --- a/lib/DebugInfo/DWARFContext.h +++ b/lib/DebugInfo/DWARFContext.h @@ -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).