Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 646552810095c77a0fc430d8e82486dafaeaa1a8..b8c234e82b7ef7c9eb2921bb5618b5b860859b3f 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 { |
@@ -14434,6 +14435,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 |