mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
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:
parent
d3190ef439
commit
33a9132fd4
@ -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();
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user