回复: [edk2-devel] Turning on frame pointers

gaoliming gaoliming at byosoft.com.cn
Wed Nov 4 05:22:06 UTC 2020


Andrew:

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

 

Thanks

Liming

发件人: bounce+27952+66878+4905953+8761045 at groups.io <bounce+27952+66878+4905953+8761045 at groups.io> 代表 Andrew Fish via groups.io
发送时间: 2020年11月3日 4:05
收件人: edk2-devel-groups-io <devel at 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





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66958): https://edk2.groups.io/g/devel/message/66958
Mute This Topic: https://groups.io/mt/78023484/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201104/a6e808bc/attachment.htm>


More information about the edk2-devel-archive mailing list