[llvm] r256515 - As a prelude to the rest of DWARF5 being supported go ahead and accept

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 28 11:58:37 PST 2015


Author: echristo
Date: Mon Dec 28 13:58:36 2015
New Revision: 256515

URL: http://llvm.org/viewvc/llvm-project?rev=256515&view=rev
Log:
As a prelude to the rest of DWARF5 being supported go ahead and accept
version 5 in llvm-dwarfdump.

Modified:
    llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h

Modified: llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h?rev=256515&r1=256514&r2=256515&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/DWARF/DWARFContext.h Mon Dec 28 13:58:36 2015
@@ -218,7 +218,7 @@ public:
   virtual StringRef getTUIndexSection() = 0;
 
   static bool isSupportedVersion(unsigned version) {
-    return version == 2 || version == 3 || version == 4;
+    return version == 2 || version == 3 || version == 4 || version == 5;
   }
 private:
   /// Return the compile unit that includes an offset (relative to .debug_info).




More information about the llvm-commits mailing list