[llvm] [llvm-symbolizer] Improve error messages for filter symbolization failure (PR #114649)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 00:25:39 PST 2024


================
@@ -698,6 +695,24 @@ void MarkupFilter::reportLocation(StringRef::iterator Loc) const {
   errs() << '\n';
 }
 
+void MarkupFilter::symbolizeFailure(const MarkupNode &Node, const Module *Mod,
+                                    Error SymbolizeError) {
+  if (Mod) {
+    auto add_module_info = [Mod](std::unique_ptr<StringError> SE) -> Error {
----------------
jh7370 wrote:

Lambda name should be `AddModuleInfo` to conform with the coding standards.

https://github.com/llvm/llvm-project/pull/114649


More information about the llvm-commits mailing list