summaryrefslogtreecommitdiffstats
path: root/lld/lib/Core/YamlWriter.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2011-12-20 02:18:44 +0000
committerNick Kledzik <kledzik@apple.com>2011-12-20 02:18:44 +0000
commitf96d0ade79b2f88922a39428105b5ea11921636a (patch)
treedfbcf1c071524210114cfcd30e52bc43c8e08ea8 /lld/lib/Core/YamlWriter.cpp
parent5d95a87c4b4a638d541336de2de4158bf1cd3a5e (diff)
downloadbcm5719-llvm-f96d0ade79b2f88922a39428105b5ea11921636a.tar.gz
bcm5719-llvm-f96d0ade79b2f88922a39428105b5ea11921636a.zip
Refactor and comment Atom attributes. Replace combine() with internalName() and mergeDuplicates()
llvm-svn: 146958
Diffstat (limited to 'lld/lib/Core/YamlWriter.cpp')
-rw-r--r--lld/lib/Core/YamlWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Core/YamlWriter.cpp b/lld/lib/Core/YamlWriter.cpp
index ae27c7e3129..711fd1ac027 100644
--- a/lld/lib/Core/YamlWriter.cpp
+++ b/lld/lib/Core/YamlWriter.cpp
@@ -29,8 +29,8 @@ public:
virtual void doFile(const class File &) { }
virtual void doAtom(const class Atom &atom) {
_out << " - name: " << atom.name() << "\n";
+ _out << " internal-name:" << atom.internalName() << "\n";
_out << " definition: " << definitionString(atom.definition()) <<"\n";
- _out << " user-visible:" << atom.userVisibleName() << "\n";
_out << " scope: " << scopeString(atom.scope()) << "\n";
_out << " type: " << typeString(atom.contentType()) << "\n";
if (atom.referencesBegin() != atom.referencesEnd()) {
OpenPOWER on IntegriCloud