[all-commits] [llvm/llvm-project] c64b56: Print discriminators when printing .debug_line in ...

Sterling-Augustine via All-commits all-commits at lists.llvm.org
Wed Jan 29 12:22:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c64b56617da293685d6467bd38ad000f8c4fd75e
      https://github.com/llvm/llvm-project/commit/c64b56617da293685d6467bd38ad000f8c4fd75e
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-symbolizer.rst
    M llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp
    A llvm/test/tools/llvm-symbolizer/discriminator.test

  Log Message:
  -----------
  Print discriminators when printing .debug_line in GNU style.

Summary:
gnu addr2line prints DWARF line table discriminators like so:

<file>:<line> (discriminator <Number>)

This matches that behavior.

Document how and when --output-style=GNU prints discriminators

Add test for new GNU-style discriminator printing.

Reviewers: rupprecht, labath, jhenderson

Subscribers: aprantl, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list