diff options
| author | Michael D Kinney <michael.d.kinney@intel.com> | 2025-12-22 22:57:16 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-01-05 23:32:28 +0300 |
| commit | 1aaa37e00a71446adc7a7e78018715c91fbd173e (patch) | |
| tree | bd0dc55ae7bc23f103e806cdba823a254748b117 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h | |
| parent | 30af21720355de9d6ff1b5118c3f862339565ac3 (diff) | |
| download | edk2-1aaa37e00a71446adc7a7e78018715c91fbd173e.tar.xz | |
EmulatorPkg/Unix/Host: Fix symbol loading with clang
Fix symbol loading issues with clang compilers where
SecGdbSciptBreak() is optimized away and the gdb/lldb
breakpoint on that symbol is never hit and no symbols
are loaded for any modules.
Update the implementation of SecGdbScriptBreak() so it
is never inlined and add code to the implementation
of SecGdbScriptBreak() to guarantee that the entire
function is never optimized away by using a volatile
loop variable.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions
