summaryrefslogtreecommitdiff
path: root/utils
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
commit7b9ee51a55f7f16b54e9839d99841bc2fab71ebe (patch)
treedfc92f23f1868dd933751db372af1f5135c86c69 /utils
parent54d23c754a4ace687c9712a88159afc1277702e7 (diff)
downloadllvm-7b9ee51a55f7f16b54e9839d99841bc2fab71ebe.tar.gz
llvm-7b9ee51a55f7f16b54e9839d99841bc2fab71ebe.tar.bz2
llvm-7b9ee51a55f7f16b54e9839d99841bc2fab71ebe.tar.xz
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
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/TableGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index c05ccb0bb1..cb0a804617 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/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;
}