-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unwinder: Fix assumption on thread's initial registers
The x86_64 ABI mandates that the bottom frame of processes must have their frame pointer (rbp) set to zero. We check for this when we detect and end of stacktrace condition, which is correcto for processes but it's not for threads as their initial frame pointer value is not specified. Test Plan ========= Ran for a while without issues. Unwinding Node.js applications cause the log to show up, this needs more investigation, but in general we should always use frame pointers to unwind Node. We will revisit this once we add proper support for this runtime.
- Loading branch information
1 parent
554b7dd
commit 460e28a
Showing
4 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters