From a13d12c758184449bf3305785ef33273802a761c Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Wed, 5 Dec 2018 00:00:15 +0100
Subject: Fixed the Itanium demangling for the test suite.

---
 plugins/itanium/component.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
 
-- 
cgit v0.11.2-87-g4458