[PATCH] D40777: [dsymutil] Add -verify option to run DWARF verifier after linking.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 09:21:57 PST 2017


aprantl added inline comments.


================
Comment at: tools/dsymutil/dsymutil.cpp:210
+  if (auto *Obj = dyn_cast<MachOObjectFile>(&Binary)) {
+    errs() << "Verifying DWARF for architecture: " << Arch << "\n";
+    std::unique_ptr<DWARFContext> DICtx = DWARFContext::create(*Obj);
----------------
should this be gated by --verbose ?


https://reviews.llvm.org/D40777





More information about the llvm-commits mailing list