]> git.ipfire.org Git - thirdparty/gcc.git/commit
Write CodeView information about static locals in optimized code
authorMark Harmstone <mark@harmstone.com>
Sun, 11 Aug 2024 01:57:59 +0000 (02:57 +0100)
committerMark Harmstone <mark@harmstone.com>
Sun, 25 Aug 2024 16:35:20 +0000 (17:35 +0100)
commit382fcf03e0ff6b32ce321fea6a81b87c8aa8f0c2
treec36549677f25a3efaa6b5cf8c83582ba65caf12a
parent3d87080598cf056fcfa25c72fcff0e06f67ee9ab
Write CodeView information about static locals in optimized code

Write CodeView S_LDATA32 symbols for static locals in optimized code. We have
to handle these separately, as they come after the S_FRAMEPROC, plus you can't
have S_BLOCK32 symbols like you can in unoptimized code.

gcc/
* dwarf2codeview.cc (write_optimized_static_local_vars): New function.
(write_function): Call write_optimized_static_local_vars.
gcc/dwarf2codeview.cc