llvm.org GIT mirror llvm / 49716e5
Improve the debug output a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173640 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 7 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
862862 void AttributeSet::dump() const {
863863 dbgs() << "PAL[ ";
864864 for (unsigned i = 0; i < getNumSlots(); ++i) {
865 unsigned Index = getSlotIndex(i);
866 dbgs() << "{ " << Index << " => " << getAsString(Index) << " } ";
865 uint64_t Index = getSlotIndex(i);
866 dbgs() << " { ";
867 if (Index == ~0U)
868 dbgs() << "~0U";
869 else
870 dbgs() << Index;
871 dbgs() << " => " << getAsString(Index) << " }\n";
867872 }
868873
869874 dbgs() << "]\n";