DebugInfo: constrain gnu pubnames test further
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Sep 2013 23:43:46 +0000 (23:43 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Sep 2013 23:43:46 +0000 (23:43 +0000)
commit5cfcb3677ade67e563f2746bce67904a9c0d842b
tree5d6f8c809dfa83c848e6baf5f77cfd0bae5723b9
parent0bb2c300a339531b5df3e8c12dbed4e8770e2833
DebugInfo: constrain gnu pubnames test further

Ensures that the pubnames entries actually refer to the intended
entities. This test could be more flexible if there was a way to do
multiline FileCheck matches with captures (in that way the test wouldn't
need to have hardcoded offset values and would thus be resilient to
changes in the layout of the DIEs in this CU).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191055 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFContext.cpp
test/DebugInfo/X86/gnu-public-names.ll