Support DWARF discriminators in object streamer.
authorDiego Novillo <dnovillo@google.com>
Fri, 14 Feb 2014 19:27:53 +0000 (19:27 +0000)
committerDiego Novillo <dnovillo@google.com>
Fri, 14 Feb 2014 19:27:53 +0000 (19:27 +0000)
commit837c54fa7bc1873fc739cbc163b8b5f207bc996c
tree1cff438c31507646df2508056f43170bc0febfc2
parentfba2a769a1f9a05437b1d98c99bb827fb7b44482
Support DWARF discriminators in object streamer.

Summary:
This adds support for emitting DWARF path discriminator values in
the object streamer. It also changes the DWARF dumper to show
discriminator values in the line table output.

Reviewers: echristo

CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2794

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201427 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFDebugLine.cpp
lib/DebugInfo/DWARFDebugLine.h
lib/MC/MCDwarf.cpp
test/DebugInfo/X86/ending-run.ll
test/DebugInfo/X86/line-info.ll
test/MC/ELF/discriminator.s [new file with mode: 0644]
test/MC/MachO/gen-dwarf-cpp.s
test/MC/MachO/gen-dwarf.s