[all-commits] [llvm/llvm-project] dbc07e: [llvm-symbolizer] improve test and fix doc example...

bd1976bris via All-commits all-commits at lists.llvm.org
Wed Jun 16 05:41:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbc07ef5ca53531e8ee6c54ec3c3f04bddef267d
      https://github.com/llvm/llvm-project/commit/dbc07ef5ca53531e8ee6c54ec3c3f04bddef267d
  Author: Ben Dunbobbin <Ben.Dunbobbin at sony.com>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-symbolizer.rst
    M llvm/test/tools/llvm-symbolizer/print_context.c

  Log Message:
  -----------
  [llvm-symbolizer] improve test and fix doc example after recent --print-source-context-lines behaviour change

I believe that after https://reviews.llvm.org/D102355 the behaviour of --print-source-context-lines has changed.

Before: --print-source-context-lines=3 prints 4 lines.
After: --print-source-context-lines=3 prints 3 lines.

Adjust the example in the docs for this change and make the testing a little more robust.

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




More information about the All-commits mailing list