Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index c8149bb3295d126256f6a27c75cbd92dd7fa970f..d5606dea427d571950c7609eb99f0e3820745a47 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -427,6 +427,9 @@ void Symbol::SymbolPrint(std::ostream& os) { // NOLINT |
HeapObject::PrintHeader(os, "Symbol"); |
os << " - hash: " << Hash(); |
os << "\n - name: " << Brief(name()); |
+ if (name()->IsUndefined()) { |
+ os << " (" << PrivateSymbolToName() << ")"; |
+ } |
os << "\n - private: " << is_private(); |
os << "\n - own: " << is_own(); |
os << "\n"; |