summaryrefslogtreecommitdiff
path: root/view/macho/machoview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/macho/machoview.cpp')
-rw-r--r--view/macho/machoview.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/macho/machoview.cpp b/view/macho/machoview.cpp
index 8a220515..5f7b3f94 100644
--- a/view/macho/machoview.cpp
+++ b/view/macho/machoview.cpp
@@ -2334,6 +2334,10 @@ Ref<Symbol> MachoView::DefineMachoSymbol(
if (!typeRef && m_extractMangledTypes && !GetDefaultPlatform()->GetFunctionByName(rawName))
typeRef = demangledType;
}
+ else if (!m_extractMangledTypes && DemangleLLVM(rawName, varName, m_simplifyTemplates)) {
+ shortName = varName.GetString();
+ fullName = shortName;
+ }
else
{
m_logger->LogDebug("Failed to demangle name: '%s'\n", rawName.c_str());