diff options
author | Steven <steven.shi@intel.com> | 2020-02-07 12:02:19 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-07 05:38:39 +0000 |
commit | 77b738b36f5f19b33a77ff74ce822c9c5a050876 (patch) | |
tree | f4746cc2e4a2a8009184837d58a768dba8951058 /BaseTools/Source/Python/Workspace/WorkspaceDatabase.py | |
parent | b5808fe960cf07325f6a621c2e8c1f655c65cd64 (diff) | |
download | edk2-77b738b36f5f19b33a77ff74ce822c9c5a050876.tar.gz edk2-77b738b36f5f19b33a77ff74ce822c9c5a050876.tar.bz2 edk2-77b738b36f5f19b33a77ff74ce822c9c5a050876.zip |
BaseTools: Enhance call stack unwindability for CLANGPDB x64 binary
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2487
The call stack unwindability of the COFF X64 binary requires
the binary to remain the pdata and xdata sections.
Details see the MSVC X64 calling convertion doc in below link:
https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention
Current build options discard or zero the data in pdata and xdata
sections which cause the debugger cannot correctly unwind the
X64 binary call stack in the runtime.
Enhance the build options to force emit the unwind tables and
keep the data of pdata and xdata sections correct in the binary.
Signed-off-by: Steven Shi <steven.shi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/WorkspaceDatabase.py')
0 files changed, 0 insertions, 0 deletions