[PATCH] D96289: Add support for YAML output style to llvm-symbolizer

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 13:01:27 PST 2021


MaskRay added a comment.

The line based output can be straightforwardly parsed, e.g. https://github.com/google/pprof/blob/master/internal/binutils/addr2liner_llvm.go#L113

There is a question on https://github.com/google/pprof/issues/606 : why is JSON picked over YAML? "JSON is a more common choice for machine-readable output. YAML is used more as a configuration language - i.e. human-read and -written."


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96289/new/

https://reviews.llvm.org/D96289



More information about the llvm-commits mailing list