Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 9f7524ccefb7a4dc85ae9ee1677840b14e8d1bad..38ea65e176a78bf9eead05a0e0db2afc221574ed 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -61,6 +61,7 @@ |
#ifdef ENABLE_DISASSEMBLER |
#include "src/disasm.h" |
#include "src/disassembler.h" |
+#include "src/eh-frame.h" |
#endif |
namespace v8 { |
@@ -14418,6 +14419,14 @@ 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"; |
+ EhFrameDisassembler eh_frame_disassembler(unwinding_info_start(), |
+ unwinding_info_end()); |
+ eh_frame_disassembler.DisassembleToStream(os); |
+ os << "\n"; |
+ } |
} |
#endif // ENABLE_DISASSEMBLER |