Commit graph

7 commits

Author SHA1 Message Date
Théophile Bastian 0dd3ca94ce Fix dump_my_stack to handle cleanly end of unwind 2018-04-12 13:23:39 +02:00
Théophile Bastian 0eb6cad1ba Detect end-of-unwind
According to LibUnwind:src/x86_64/Gstep.c:85
(HEAD=c91974f30feac05055621e33ca101a371236c786), the x86_64 ABI states
that the end of the call stack is determined by either a null RBP or an
undefined return-address column in the DWARF.
2018-04-06 19:05:38 +02:00
Théophile Bastian e567039227 Add a threaded test (harder to check unwinding end) 2018-04-06 17:36:16 +02:00
Théophile Bastian 36096575ed Remove necessity to copy the stack 2018-04-06 16:38:24 +02:00
Théophile Bastian c4895ed0d1 Make context acquisition behave correctly wrt. calling site
It now actually returns the context at the call site of the function,
instead of somewhere inside DwarfInterpret
2018-04-06 16:26:24 +02:00
Théophile Bastian 18d3655890 Adapt test files 2018-04-05 19:18:06 +02:00
Théophile Bastian 0bd5a40bce Add some test files 2018-04-04 14:47:54 +02:00