[symbolize] Output contextual elements lazily

Right now contextual elements create a lot of noise. It would
be best if they generally were not displayed at all unless
there is some text around them. Additionally we don't want to
just print out blank lines in such cases.

This change adds a notion of "lazy printing" to avoid printing
certian things out unless other more meanginful information
is also printed out.

Change-Id: I093d9a1f3333e4286bd678a5fb8f4431992ac794
2 files changed
tree: 0bf7b7726fb137fa60afaf7f18a677ea0aba95a7
  1. cmd/
  2. color/
  3. elflib/
  4. gndoc/
  5. isatty/
  6. logger/
  7. ninjalog/
  8. symbolize/
  9. .gitignore
  10. Gopkg.lock
  11. Gopkg.toml
  12. LICENSE
  13. manifest
  14. PATENTS
  15. README.md
README.md

tools

This repo contains tools used in Fuchsia build and development.

Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe. To add a tool to the build:

  • Edit the bot config.
  • Find the builder_mixins section with name: "tools".
  • Edit the JSON in properties_j to add a string to the packages list:
"fuchsia.googlesource.com/tools/cmd/your-new-tool"