summaryrefslogtreecommitdiff
path: root/plugins/rtti
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rtti')
-rw-r--r--plugins/rtti/itanium.cpp2
-rw-r--r--plugins/rtti/plugin.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/rtti/itanium.cpp b/plugins/rtti/itanium.cpp
index ad6d6e6d..dae85b46 100644
--- a/plugins/rtti/itanium.cpp
+++ b/plugins/rtti/itanium.cpp
@@ -748,7 +748,7 @@ void ItaniumRTTIProcessor::ProcessRTTI()
}
catch (std::exception& e)
{
- m_logger->LogWarn("Failed to process object at %llx... skipping", currAddr);
+ m_logger->LogWarnForException(e, "Failed to process object at %llx... skipping", currAddr);
}
}
};
diff --git a/plugins/rtti/plugin.cpp b/plugins/rtti/plugin.cpp
index d94be592..6f1a3e2f 100644
--- a/plugins/rtti/plugin.cpp
+++ b/plugins/rtti/plugin.cpp
@@ -29,7 +29,7 @@ void RTTIAnalysis(const Ref<AnalysisContext>& analysisContext)
}
catch (std::exception& e)
{
- LogError("MSVC RTTI Analysis failed with uncaught exception: %s", e.what());
+ LogErrorForException(e, "MSVC RTTI Analysis failed with uncaught exception: %s", e.what());
}
}
@@ -41,7 +41,7 @@ void RTTIAnalysis(const Ref<AnalysisContext>& analysisContext)
}
catch (std::exception& e)
{
- LogError("Itanium RTTI Analysis failed with uncaught exception: %s", e.what());
+ LogErrorForException(e, "Itanium RTTI Analysis failed with uncaught exception: %s", e.what());
}
}
@@ -60,7 +60,7 @@ void VFTAnalysis(const Ref<AnalysisContext>& analysisContext)
}
catch (std::exception& e)
{
- LogError("MSVC VFT Analysis failed with uncaught exception: %s", e.what());
+ LogErrorForException(e, "MSVC VFT Analysis failed with uncaught exception: %s", e.what());
}
try
@@ -71,7 +71,7 @@ void VFTAnalysis(const Ref<AnalysisContext>& analysisContext)
}
catch (std::exception& e)
{
- LogError("Itanium VFT Analysis failed with uncaught exception: %s", e.what());
+ LogErrorForException(e, "Itanium VFT Analysis failed with uncaught exception: %s", e.what());
}
}