[llvm] r187763 - Allow 4 as a valid debug info version.

Eric Christopher echristo at gmail.com
Mon Aug 5 18:38:27 PDT 2013


Author: echristo
Date: Mon Aug  5 20:38:27 2013
New Revision: 187763

URL: http://llvm.org/viewvc/llvm-project?rev=187763&view=rev
Log:
Allow 4 as a valid debug info version.

Modified:
    llvm/trunk/lib/DebugInfo/DWARFContext.h

Modified: llvm/trunk/lib/DebugInfo/DWARFContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFContext.h?rev=187763&r1=187762&r2=187763&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFContext.h (original)
+++ llvm/trunk/lib/DebugInfo/DWARFContext.h Mon Aug  5 20:38:27 2013
@@ -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).





More information about the llvm-commits mailing list