Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 2ec9afca87df686b3ee069baa46b2b2c1aa21ffb..00a05a828fffcea49a63594cb749b312df2df979 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -60,6 +60,7 @@ |
#ifdef ENABLE_DISASSEMBLER |
#include "src/disasm.h" |
#include "src/disassembler.h" |
+#include "src/eh-frame.h" |
#endif |
namespace v8 { |
@@ -14355,6 +14356,13 @@ void Code::Disassemble(const char* name, std::ostream& os) { // NOLINT |
it.rinfo()->Print(GetIsolate(), os); |
} |
os << "\n"; |
+ |
+ if (has_unwinding_info()) { |
+ os << "UnwindingInfo (size = " << unwinding_info_size() << ")\n"; |
+ EhFrameWriter::DisassembleToStream(os, unwinding_info_start(), |
+ unwinding_info_end()); |
+ os << "\n"; |
+ } |
} |
#endif // ENABLE_DISASSEMBLER |