From f7d848d0b913d1310135feb348ab58eedb01c1b0 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 6 Aug 2013 01:38:27 +0000 Subject: Allow 4 as a valid debug info version. llvm-svn: 187763 --- llvm/lib/DebugInfo/DWARFContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/DebugInfo') diff --git a/llvm/lib/DebugInfo/DWARFContext.h b/llvm/lib/DebugInfo/DWARFContext.h index af9965fd1d3..058476e34d3 100644 --- a/llvm/lib/DebugInfo/DWARFContext.h +++ b/llvm/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). -- cgit v1.2.3