Commit 1599b01d authored by Chris Lamb's avatar Chris Lamb 💬

Don't include the filename in llvm-bcanalyzer results. (Closes: #905598)

parent 794f8152
Pipeline #15909 failed with stage
in 12 minutes and 13 seconds
......@@ -32,6 +32,11 @@ class LlvmBcAnalyzer(Command):
def cmdline(self):
return ['llvm-bcanalyzer', '-dump', self.path]
def filter(self, line):
if line.decode('utf-8', 'ignore').startswith('Summary of '):
return 'Summary:'
return line
class LlvmBcDisassembler(Command):
@tool_required('llvm-dis')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment