OSDN Git Service

Disable wrapping llvm-xray YAML output
authorDimitry Andric <dimitry@andric.com>
Tue, 14 Feb 2017 22:49:49 +0000 (22:49 +0000)
committerDimitry Andric <dimitry@andric.com>
Tue, 14 Feb 2017 22:49:49 +0000 (22:49 +0000)
commit193dc0bf8409dd7c7908a2857d99996e9c4d7f9c
tree17b50a598f0d820831e0a7e0db3a9fde816b5107
parente9b25f27d91c2fc45b38ce9df2dac6bc65cdda0c
Disable wrapping llvm-xray YAML output

Summary:
The YAML output produced by llvm-xray is supposed to be wrapped at the
arbitrary default of 70 columns set by `yaml:Output`.  Unfortunately,
the wrapping is rather unpredictable, and can easily go past the set
number of columns, depending on the execution environment.

To make the YAML output environment-independent, disable wrapping
instead.

Reviewers: dberris

Reviewed By: dberris

Subscribers: fhahn, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295116 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
test/tools/llvm-xray/X86/Inputs/simple-xray-instrmap.yaml
test/tools/llvm-xray/X86/account-simple-case.yaml
test/tools/llvm-xray/X86/account-simple-sorting.yaml
test/tools/llvm-xray/X86/convert-roundtrip.yaml
test/tools/llvm-xray/X86/convert-to-yaml.txt
test/tools/llvm-xray/X86/convert-with-debug-syms.txt
test/tools/llvm-xray/X86/convert-with-standalone-instrmap.txt
test/tools/llvm-xray/X86/convert-with-yaml-instrmap.txt
test/tools/llvm-xray/X86/extract-instrmap.ll
test/tools/llvm-xray/X86/graph-simple-case.yaml
tools/llvm-xray/xray-converter.cc
tools/llvm-xray/xray-extract.cc