OSDN Git Service

[XRay] A tool for Comparing xray function call graphs
authorDean Michael Berris <dberris@google.com>
Mon, 24 Apr 2017 05:54:33 +0000 (05:54 +0000)
committerDean Michael Berris <dberris@google.com>
Mon, 24 Apr 2017 05:54:33 +0000 (05:54 +0000)
commitae0fbfb1fbb7453ca7895c91a565820b5fc881c8
tree3d1fb3ab3b12a627ae581d315c5fc030adca4eeb
parent6a61317c632e6dde307340bddba338832d47d997
[XRay] A tool for Comparing xray function call graphs

Summary:
This is a tool for comparing the function graphs produced by the
llvm-xray graph too. It takes the form of a new subcommand of the
llvm-xray tool 'graph-diff'.

This initial version of the patch is very rough, but it is close to
feature complete.

Depends on D29363

Reviewers: dblaikie, dberris

Reviewed By: dberris

Subscribers: mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D29320

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301160 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-xray/X86/Inputs/graph-diff-A.yaml [new file with mode: 0644]
test/tools/llvm-xray/X86/Inputs/graph-diff-B.yaml [new file with mode: 0644]
test/tools/llvm-xray/X86/Inputs/simple-instrmap.yaml
test/tools/llvm-xray/X86/graph-diff-simple.txt [new file with mode: 0644]
tools/llvm-xray/CMakeLists.txt
tools/llvm-xray/xray-color-helper.cc
tools/llvm-xray/xray-color-helper.h
tools/llvm-xray/xray-graph-diff.cc [new file with mode: 0644]
tools/llvm-xray/xray-graph-diff.h [new file with mode: 0644]
tools/llvm-xray/xray-graph.cc
tools/llvm-xray/xray-graph.h