summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TableGen.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-02-06 03:19:17 +0000
committerChris Lattner <sabre@nondot.org>2004-02-06 03:19:17 +0000
commite6540165b335b6b00d2c790b56e29b748f2b432b (patch)
tree6f3049d33eb34d8b299d64d3eba341557d250efa /llvm/utils/TableGen/TableGen.cpp
parentcd2e7ffcc63e085e8fcf4797fb69ab42e6141096 (diff)
downloadbcm5719-llvm-e6540165b335b6b00d2c790b56e29b748f2b432b.tar.gz
bcm5719-llvm-e6540165b335b6b00d2c790b56e29b748f2b432b.zip
Print the record NAME not the record ADDRESS
llvm-svn: 11144
Diffstat (limited to 'llvm/utils/TableGen/TableGen.cpp')
-rw-r--r--llvm/utils/TableGen/TableGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/TableGen.cpp b/llvm/utils/TableGen/TableGen.cpp
index c05ccb0bb17..cb0a804617e 100644
--- a/llvm/utils/TableGen/TableGen.cpp
+++ b/llvm/utils/TableGen/TableGen.cpp
@@ -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;
}
OpenPOWER on IntegriCloud