forked from M-Labs/artiq
compiler: skip demangling list of empty names
This commit is contained in:
parent
7ad32d903a
commit
30ef8d8cb4
@ -256,6 +256,8 @@ class Target:
|
||||
return backtrace
|
||||
|
||||
def demangle(self, names):
|
||||
if not any(names):
|
||||
return names
|
||||
with RunTool([self.tool_cxxfilt] + names) as results:
|
||||
return results["__stdout__"].read().rstrip().split("\n")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user