[PATCH] D158508: [dsymutil][DWARFv5] Do output verification for DWARFv5.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 03:27:39 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9173cab625f9: [dsymutil][DWARFv5] Do output verification for DWARFv5. (authored by avl).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158508/new/

https://reviews.llvm.org/D158508

Files:
  llvm/tools/dsymutil/dsymutil.cpp


Index: llvm/tools/dsymutil/dsymutil.cpp
===================================================================
--- llvm/tools/dsymutil/dsymutil.cpp
+++ llvm/tools/dsymutil/dsymutil.cpp
@@ -517,10 +517,11 @@
   Binary &Binary = *BinOrErr.get().getBinary();
   if (auto *Obj = dyn_cast<MachOObjectFile>(&Binary)) {
     std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(*Obj);
-    if (DICtx->getMaxVersion() >= 5) {
+    if (DICtx->getMaxVersion() > 5) {
       std::lock_guard<std::mutex> Guard(Mutex);
-      WithColor::warning() << "verification skipped for " << Arch
-                           << " because DWARFv5 is not fully supported yet.\n";
+      WithColor::warning()
+          << "verification skipped for " << Arch
+          << " because DWARF standard greater than v5 is not supported yet.\n";
       return true;
     }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158508.552645.patch
Type: text/x-patch
Size: 845 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230823/cc6d4462/attachment.bin>


More information about the llvm-commits mailing list