Unshift the GDB index/GNU pubnames constants modified in r191025
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Sep 2013 20:40:26 +0000 (20:40 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Sep 2013 20:40:26 +0000 (20:40 +0000)
commit9599f51559c692bb20092da23e3a34b2cc841e03
tree914e0f1830ead47b57983b1fb6c961032f374539
parentf2144ed4399c6414a4f35b10c2fcc9782f32fbf3
Unshift the GDB index/GNU pubnames constants modified in r191025

Based on code review feedback from Eric Christopher, unshifting these
constants as they can appear in the gdb_index itself, shifted a further
24 bits. This means that keeping them preshifted is a bit inflexible, so
let's not do that.

Given the motivation, wrap up some nicer enums, more type safety, and
some utility functions.

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