mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Improve the debug output a bit.
llvm-svn: 173640
This commit is contained in:
parent
5783e1e4be
commit
ebbee6a7f6
@ -863,8 +863,13 @@ AttributeSet AttributeSet::removeAttr(LLVMContext &C, unsigned Idx,
|
||||
void AttributeSet::dump() const {
|
||||
dbgs() << "PAL[ ";
|
||||
for (unsigned i = 0; i < getNumSlots(); ++i) {
|
||||
unsigned Index = getSlotIndex(i);
|
||||
dbgs() << "{ " << Index << " => " << getAsString(Index) << " } ";
|
||||
uint64_t Index = getSlotIndex(i);
|
||||
dbgs() << " { ";
|
||||
if (Index == ~0U)
|
||||
dbgs() << "~0U";
|
||||
else
|
||||
dbgs() << Index;
|
||||
dbgs() << " => " << getAsString(Index) << " }\n";
|
||||
}
|
||||
|
||||
dbgs() << "]\n";
|
||||
|
Loading…
Reference in New Issue
Block a user