This change does two things:
authorEric Christopher <echristo@gmail.com>
Wed, 14 Dec 2016 18:29:39 +0000 (18:29 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 14 Dec 2016 18:29:39 +0000 (18:29 +0000)
commitba1024cfb8a855f312a0ce113b31b452baa6bcee
tree0c3f41c7bcdfb411567cf9bca5fd974a7a910c26
parent963f5490e2140547b217174c9a168a7d7c98978c
This change does two things:

Adds a "Discriminator" field to struct DILineInfo, which defaults to 0.
Fills out the "Discriminator" field in DILineInfo in DWARFDebugLine::LineTable::getFileLineInfoForAddress().

in order to have a slightly nicer interface in getFileLineInfoForAddress.

Patch by Simon Que!

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

llvm-svn: 289683
llvm/include/llvm/DebugInfo/DIContext.h
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp