From: Jan Beulich <jbeulich@suse.com>
To: Indu Bhagat <indu.bhagat@oracle.com>
Cc: binutils@sourceware.org
Subject: Re: [PATCH,V1 00/14] Definition and support for SFrame unwind format
Date: Tue, 4 Oct 2022 08:53:27 +0200 [thread overview]
Message-ID: <ff7dd186-7044-5e04-4fe5-b994f925e22f@suse.com> (raw)
In-Reply-To: <186042dd-15f1-7d0b-abf4-020201d65b2e@oracle.com>
On 04.10.2022 07:16, Indu Bhagat wrote:
> re: return address was saved to some secondary stack. I need some more
> understanding of the issue here. I was thinking an entity higher up,
> like the unwinder, will have enough context to pick the appropriate
> stack to which the stack offsets apply; because the decision as to when
> to switch to a secondary stack (or not) must be a application specific
> property ? If you have some resources to share here, it will be helpful.
> Alternatively, if usage of secondary stack is specified at an ABI level,
> can you please provide a reference so I can take a look ?
That's not the kind of "secondary stack" I was referring to. IA-64, for
example, had a 2nd stack for its Register Stack Engine (for kind of
implicit spilling of a subset of GPRs). The return address of a function
therefore can, in principle, land on either the normal or the RSE stack.
x86 has now gained a secondary stack as well, for CET-SS. If that's in
use, in principle I think it would be preferable to unwind using that
one (as there's far less stuff there which isn't a return address, and
in the common case going from one function's slot to the next means
merely incrementing/decrementing the pointer used to point into that
stack).
Jan
next prev parent reply other threads:[~2022-10-04 6:53 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-02 8:04 [PATCH,V6 00/10] Definition and Implementation of CTF Frame format Indu Bhagat
2022-08-02 8:04 ` [PATCH,V6 01/10] ctf-frame.h: Add CTF Frame format definition Indu Bhagat
2022-08-15 12:04 ` Nick Clifton
2022-08-02 8:04 ` [PATCH,V6 02/10] gas: add new command line option --gctf-frame Indu Bhagat
2022-08-15 12:07 ` Nick Clifton
2022-08-02 8:04 ` [PATCH,V6 03/10] gas: generate .ctf_frame Indu Bhagat
2022-08-15 12:22 ` Nick Clifton
2022-08-02 8:04 ` [PATCH,V6 04/10] libctfframe: add the CTF Frame library Indu Bhagat
2022-08-15 12:46 ` Nick Clifton
2022-08-02 8:04 ` [PATCH,V6 05/10] libctfframe: add GNU poke pickles for CTF Frame Indu Bhagat
2022-08-15 12:50 ` Nick Clifton
2022-08-02 8:04 ` [PATCH,V6 06/10] bfd: linker: merge .ctf_frame sections Indu Bhagat
2022-08-15 13:02 ` Nick Clifton
2022-08-18 2:11 ` Indu Bhagat
2022-08-02 8:04 ` [PATCH,V6 07/10] readelf/objdump: support for CTF Frame section Indu Bhagat
2022-08-15 13:11 ` Nick Clifton
2022-08-02 8:04 ` [PATCH,V6 08/10] unwinder: generate backtrace using CTF Frame format Indu Bhagat
2022-08-15 13:16 ` Nick Clifton
2022-08-02 8:04 ` [PATCH,V6 09/10] unwinder: Add CTF Frame unwinder tests Indu Bhagat
2022-08-15 13:27 ` Nick Clifton
2022-08-02 8:04 ` [PATCH, V6 10/10] gdb: sim: buildsystem changes to accommodate libctfframe Indu Bhagat
2022-08-05 14:43 ` Tom Tromey
2022-08-15 12:18 ` [PATCH,V6 00/10] Definition and Implementation of CTF Frame format Nick Clifton
2022-08-18 1:38 ` Indu Bhagat
2022-08-15 14:25 ` Nick Clifton
2022-09-30 0:04 ` [PATCH,V1 00/14] Definition and support for SFrame unwind format Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 01/14] sframe.h: Add SFrame format definition Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 02/14] gas: add new command line option --gsframe Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 03/14] gas: generate .sframe from CFI directives Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 04/14] gas: testsuite: add new tests for SFrame unwind info Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 05/14] libsframe: add the SFrame library Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 06/14] bfd: linker: merge .sframe sections Indu Bhagat
2022-09-30 10:51 ` Nick Clifton
2022-09-30 0:04 ` [PATCH,V1 07/14] readelf/objdump: support for SFrame section Indu Bhagat
2022-09-30 11:08 ` Nick Clifton
2022-09-30 0:04 ` [PATCH,V1 08/14] unwinder: generate backtrace using SFrame format Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 09/14] unwinder: Add SFrame unwinder tests Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 10/14] gdb: sim: buildsystem changes to accommodate libsframe Indu Bhagat
2022-10-11 16:08 ` [PATCH, V1 " Tom Tromey
2022-09-30 0:04 ` [PATCH,V1 11/14] libctf: add libsframe to LDFLAGS and LIBS Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 12/14] src-release.sh: Add libsframe Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 13/14] binutils/NEWS: add text for SFrame support Indu Bhagat
2022-09-30 0:04 ` [PATCH,V1 14/14] gas/NEWS: add text about new command line option and " Indu Bhagat
2022-09-30 8:09 ` [PATCH,V1 00/14] Definition and support for SFrame unwind format Jan Beulich
2022-10-04 5:16 ` Indu Bhagat
2022-10-04 6:53 ` Jan Beulich [this message]
2022-09-30 8:24 ` Fangrui Song
2022-10-01 0:15 ` Indu Bhagat
2022-09-30 9:12 ` Nick Clifton
2022-10-01 0:29 ` Indu Bhagat
2022-10-01 9:51 ` Jose E. Marchesi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ff7dd186-7044-5e04-4fe5-b994f925e22f@suse.com \
--to=jbeulich@suse.com \
--cc=binutils@sourceware.org \
--cc=indu.bhagat@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).