[XRay][tools] Add option to llvm-xray extract to symbolize functions
authorDean Michael Berris <dberris@google.com>
Tue, 18 Apr 2017 23:23:54 +0000 (23:23 +0000)
committerDean Michael Berris <dberris@google.com>
Tue, 18 Apr 2017 23:23:54 +0000 (23:23 +0000)
commit918802bed47a6083c968406371e1b3f71ae95a74
tree08b854fbb209894680242462184d0c2dfcd17a6f
parent94b2bde631ae32ac733e2a8ca920e6a8bfa99150
[XRay][tools] Add option to llvm-xray extract to symbolize functions

Summary:
This allows us to, if the symbol names are available in the binary, be
able to provide the function name in the YAML output.

Reviewers: dblaikie, pelikan

Subscribers: llvm-commits

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

llvm-svn: 300624
llvm/include/llvm/XRay/InstrumentationMap.h
llvm/test/tools/llvm-xray/X86/extract-instrmap-symbolize.ll [new file with mode: 0644]
llvm/tools/llvm-xray/xray-extract.cc