From 7b9ee51a55f7f16b54e9839d99841bc2fab71ebe Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 6 Feb 2004 03:19:17 +0000 Subject: [PATCH] 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 --- utils/TableGen/TableGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index c05ccb0bb17..cb0a804617e 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -467,7 +467,7 @@ int main(int argc, char **argv) { { std::vector Recs = Records.getAllDerivedDefinitions(Class); for (unsigned i = 0, e = Recs.size(); i != e; ++i) - *Out << Recs[i] << ", "; + *Out << Recs[i]->getName() << ", "; *Out << "\n"; break; } -- 2.34.1