Allow DWARFDebugInfoEntryMinimal::getSubroutineName to resolve cross-unit references.
authorFrederic Riss <friss@apple.com>
Mon, 22 Sep 2014 12:35:53 +0000 (12:35 +0000)
committerFrederic Riss <friss@apple.com>
Mon, 22 Sep 2014 12:35:53 +0000 (12:35 +0000)
commitcc55b738670ea73ece2bb0a3be025f09e5917fa9
treecc73bf092fa876346aa462f12e3805833023bdce
parent2ee97f03a44796b5702d57105526a44de47b27d7
Allow DWARFDebugInfoEntryMinimal::getSubroutineName to resolve cross-unit references.

Summary: getSubroutineName is currently only used by llvm-symbolizer, thus add a binary test containing a cross-cu inlining example.

Reviewers: samsonov, dblaikie

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D5394

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218245 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFDebugInfoEntry.cpp
test/DebugInfo/Inputs/cross-cu-inlining.c [new file with mode: 0644]
test/DebugInfo/Inputs/cross-cu-inlining.x86_64-macho.o [new file with mode: 0644]
test/DebugInfo/llvm-symbolizer.test