DebugInfo: Simplify gnu_pubnames index computation.
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Sep 2013 18:39:59 +0000 (18:39 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Sep 2013 18:39:59 +0000 (18:39 +0000)
commitecb41cfe36c9e60664c95970bfae82e4cf7397c5
tree63f3db365fcdbaceadb4621ffb28ad0ab876af41
parentcdfb43f0a68274f40340af73218699265466c074
DebugInfo: Simplify gnu_pubnames index computation.

Names open to bikeshedding. Could switch back to the constants being
unshifted, but this way seems a bit easier to work with.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191025 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Dwarf.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp