[edk2-devel] Turning on frame pointers

Andrew Fish via groups.io afish=apple.com at groups.io
Mon Nov 2 20:05:27 UTC 2020


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

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66878): https://edk2.groups.io/g/devel/message/66878
Mute This Topic: https://groups.io/mt/77990790/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/20201102/342651e9/attachment.htm>


More information about the edk2-devel-archive mailing list