OSDN Git Service

[XRay][tools] Use Support/JSON.h in llvm-xray convert
authorDean Michael Berris <dberris@google.com>
Fri, 3 Aug 2018 09:21:31 +0000 (09:21 +0000)
committerDean Michael Berris <dberris@google.com>
Fri, 3 Aug 2018 09:21:31 +0000 (09:21 +0000)
commit93e0d05b71dd8cc770e053c3198ab128bcc47053
tree44050168f6502c902164bb20ff14647e42b482d0
parentf1843f8e41d0372a74d0f375223c3cf1435b2f90
[XRay][tools] Use Support/JSON.h in llvm-xray convert

Summary:
This change removes the ad-hoc implementation used by llvm-xray's
`convert` subcommand to generate JSON encoded catapult (AKA Chrome
Trace Viewer) trace output, to instead use the JSON encoder now in the
Support library.

Reviewers: kpw, zturner, eizan

Reviewed By: kpw

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338834 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-xray/xray-converter.cpp