HomePhabricator

Print discriminators when printing .debug_line in GNU style.

Authored by saugustine on Jan 23 2020, 5:51 PM.

Description

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

Details

Committed
saugustineJan 29 2020, 12:22 PM
Differential Revision
D73318: Print discriminators when printing .debug_line in GNU style.
Parents
rGfa44d72b9e43: [build] Fix runtimes build after 2e745ba6b0ba
Branches
Unknown
Tags
Unknown