Commit 1599b01d authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

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

parent 794f8152
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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')