Print the record NAME not the record ADDRESS

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11144 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-06 03:19:17 +00:00
parent 54d23c754a
commit 7b9ee51a55

View File

@ -467,7 +467,7 @@ int main(int argc, char **argv) {
{
std::vector<Record*> Recs = Records.getAllDerivedDefinitions(Class);
for (unsigned i = 0, e = Recs.size(); i != e; ++i)
*Out << Recs[i] << ", ";
*Out << Recs[i]->getName() << ", ";
*Out << "\n";
break;
}