Methods and apparatus for use in aiding stack unwinding
Abstract
In a compiler, a method of generating assembly code for stack unwinding is disclosed. One or more source code lines are obtained. Assembly code for the one or more source code lines is then generated. The assembly code includes one or more stack unwind assembler having one or more associated stack unwind sub directives. Each of the stack unwind assembler directives is adapted for indicating to an assembler that one or more encoded data sections containing stack information to be used for stack unwinding is to be generated in an object file from the one or more associated stack unwind sub directives.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 27.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a compiler, a method of generating assembly code to aid in stack unwinding of a memory stack, the method comprising: obtaining at least one source code line; and generating assembly code for the at least one more source code line, the assembly code including at least one stack unwind assembler directive, each of the stack unwind assembler directives having at least one associated stack unwind sub directive, each stack unwind assembler directive being adapted for indicating to an assembler that at least one encoded data section containing information to be used during stack unwinding is to b
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 27 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- Champlain et al., A reflective architecture for cross-assembler, 1999, IEEE, p. 346-348.*
- Haenni, A structure macro assembler for the event handler, Oct. 1989, IEEE, vol. 36, p. 1685-1689.*
- Intel, "IA-64 Software Conventions and Runtime Architecture Guide," Doc. No. 245358-002, Sep. 2000.
- Intel, "Intel(R) Itamium(TM) Architecture Assembly Language Reference Guide," Doc. No. 248801-003 http://developer.intel.com, Oct. 2000.
- Internet, Unwinding The Stack, http://c2.com/cgi/wiki?UnwindingTheStack.*