[PATCH] D74481: [Debuginfo][NFC] Create common error handlers for DWARFContext.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 13:47:08 PST 2020


JDevlieghere added inline comments.


================
Comment at: llvm/include/llvm/DebugInfo/DIContext.h:208
+
+  std::function<void(Error)> RecoverableErrorHandler = nullptr;
+  std::function<void(Error)> WarningHandler = nullptr;
----------------
Could we make the default handlers static members of the DWARFContext and use those instead of nullptr?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74481





More information about the llvm-commits mailing list