mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-22 05:51:42 +00:00
Improve the debug output a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173640 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e3e789aed
commit
49716e5d84
@ -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…
x
Reference in New Issue
Block a user