[PATCH] D29962: Disable wrapping llvm-xray YAML output

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 14:17:53 PST 2017


dim created this revision.
Herald added a subscriber: fhahn.

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.


https://reviews.llvm.org/D29962

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29962.88435.patch
Type: text/x-patch
Size: 17149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170214/fd30efdb/attachment.bin>


More information about the llvm-commits mailing list