summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2019-10-12 02:29:24 +0000
committerVitaly Buka <vitalybuka@google.com>2019-10-12 02:29:24 +0000
commite8a462a01923676860ee4d7b0d191043ea4b9f63 (patch)
tree4a6c0345837eb7dd60739f57b72765096d6d4ca3 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parent0bb06f6f667eb174f1cec638fc181f1f32dffb44 (diff)
downloadbcm5719-llvm-e8a462a01923676860ee4d7b0d191043ea4b9f63.tar.gz
bcm5719-llvm-e8a462a01923676860ee4d7b0d191043ea4b9f63.zip
[sancov] Use LLVM Support library JSON writer in favor of individual implementation
Summary: In this diff, I've replaced the individual implementation of `JSONWriter` with `json::OStream` provided by `llvm/Support/JSON.h`. Important Note: The output format of the JSON is considerably different compared to the original implementation. Important differences include: * New line for each entry in an array (should make diffs cleaner) * No space between keys and colon in attributed object entries. * Attributes with empty strings will now print the attribute name and a quote pair rather than excluding the attribute altogether Examples of these differences can be seen in the changes to the sancov tests which compare the JSON output. Patch by Douglas Gliner. Reviewers: kcc, filcab, phosek, morehouse, vitalybuka, metzman Subscribers: mehdi_amini, dexonsmith, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D68752 llvm-svn: 374628
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud