Use dwarf::Attribute instead of a bare uint16_t.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202920 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2014-03-05 01:10:59 +00:00
parent d3190ef439
commit 33a9132fd4
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ const DIE *DIE::getUnitOrNull() const {
return NULL;
}
DIEValue *DIE::findAttribute(uint16_t Attribute) const {
DIEValue *DIE::findAttribute(dwarf::Attribute Attribute) const {
const SmallVectorImpl<DIEValue *> &Values = getValues();
const DIEAbbrev &Abbrevs = getAbbrev();

View File

@ -175,7 +175,7 @@ public:
/// findAttribute - Find a value in the DIE with the attribute given,
/// returns NULL if no such attribute exists.
DIEValue *findAttribute(uint16_t Attribute) const;
DIEValue *findAttribute(dwarf::Attribute Attribute) const;
#ifndef NDEBUG
void print(raw_ostream &O, unsigned IndentCount = 0) const;