summaryrefslogtreecommitdiff
path: root/plugins/itanium
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-12-04 23:00:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-12-04 23:00:15 (GMT)
commita13d12c758184449bf3305785ef33273802a761c (patch)
tree901f2304b927ffed8ef5e52e5b59f5f416be9bd9 /plugins/itanium
parente146d7d8c7af50d2592379570c66acaf1dfa73c9 (diff)
Fixed the Itanium demangling for the test suite.
Diffstat (limited to 'plugins/itanium')
-rw-r--r--plugins/itanium/component.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/itanium/component.c b/plugins/itanium/component.c
index d61403d..5ebfeb9 100644
--- a/plugins/itanium/component.c
+++ b/plugins/itanium/component.c
@@ -1868,7 +1868,8 @@ GBinRoutine *itd_translate_component_to_routine(const itanium_component *comp)
}
- g_binary_routine_set_namespace(result, ns, strdup("::"));
+ if (ns != NULL)
+ g_binary_routine_set_namespace(result, ns, strdup("::"));
break;