public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Turning on frame pointers
@ 2020-11-02 20:05 Andrew Fish
  2020-11-04  5:22 ` 回复: [edk2-devel] " gaoliming
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Fish @ 2020-11-02 20:05 UTC (permalink / raw)
  To: edk2-devel-groups-io

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

I just noticed a BZ [1] that requested the VS2019 turn on frame pointers. I happen to work a lot on a toolchain, Xcode, that has frame pointers enabled. So I’d figured I’d ask to see how interested folks are in this feature?

I’d like to point out it is just not a makes working with the debugger better kind of feature as it is useful to print out stack frames on ASSERT and exceptions. 

For x86 you generally unwind the stack until you hit a zero. It is probably also a good idea for stack walker to skip guard pages, and non-canonical addresses so there is probably some set of PCDs that would useful in this regards. 

[1] https://bugzilla.tianocore.org/show_bug.cgi?id=3043 <https://bugzilla.tianocore.org/show_bug.cgi?id=3043>

Thanks,

Andrew Fish

[-- Attachment #2: Type: text/html, Size: 1275 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 回复: [edk2-devel] Turning on frame pointers
  2020-11-02 20:05 Turning on frame pointers Andrew Fish
@ 2020-11-04  5:22 ` gaoliming
  0 siblings, 0 replies; 2+ messages in thread
From: gaoliming @ 2020-11-04  5:22 UTC (permalink / raw)
  To: devel, afish

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]

Andrew:

 Do you notice how much the image size will be increased when frame pointer is enabled?

 

Thanks

Liming

发件人: bounce+27952+66878+4905953+8761045@groups.io <bounce+27952+66878+4905953+8761045@groups.io> 代表 Andrew Fish via groups.io
发送时间: 2020年11月3日 4:05
收件人: edk2-devel-groups-io <devel@edk2.groups.io>
主题: [edk2-devel] Turning on frame pointers

 

I just noticed a BZ [1] that requested the VS2019 turn on frame pointers. I happen to work a lot on a toolchain, Xcode, that has frame pointers enabled. So I’d figured I’d ask to see how interested folks are in this feature?

 

I’d like to point out it is just not a makes working with the debugger better kind of feature as it is useful to print out stack frames on ASSERT and exceptions. 

 

For x86 you generally unwind the stack until you hit a zero. It is probably also a good idea for stack walker to skip guard pages, and non-canonical addresses so there is probably some set of PCDs that would useful in this regards. 

 

[1] https://bugzilla.tianocore.org/show_bug.cgi?id=3043

 

Thanks,

 

Andrew Fish




[-- Attachment #2: Type: text/html, Size: 5235 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-04  5:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-02 20:05 Turning on frame pointers Andrew Fish
2020-11-04  5:22 ` 回复: [edk2-devel] " gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox