diff --git a/llvm/tools/dsymutil/dsymutil.cpp b/llvm/tools/dsymutil/dsymutil.cpp --- a/llvm/tools/dsymutil/dsymutil.cpp +++ b/llvm/tools/dsymutil/dsymutil.cpp @@ -517,10 +517,11 @@ Binary &Binary = *BinOrErr.get().getBinary(); if (auto *Obj = dyn_cast(&Binary)) { std::unique_ptr DICtx = DWARFContext::create(*Obj); - if (DICtx->getMaxVersion() >= 5) { + if (DICtx->getMaxVersion() > 5) { std::lock_guard 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; }