]> git.ipfire.org Git - thirdparty/gcc.git/commit
Write CodeView S_FRAMEPROC symbols
authorMark Harmstone <mark@harmstone.com>
Sun, 11 Aug 2024 01:48:00 +0000 (02:48 +0100)
committerMark Harmstone <mark@harmstone.com>
Sun, 25 Aug 2024 16:35:20 +0000 (17:35 +0100)
commit3d87080598cf056fcfa25c72fcff0e06f67ee9ab
treeab8a9876b368f4ed3bf9ee7512ed1bc4caf254ed
parentbe23c8befcf37cabb3cef500d22d1af592139959
Write CodeView S_FRAMEPROC symbols

Write S_FRAMEPROC symbols, which aren't very useful but seem to be necessary
for Microsoft debuggers to function properly. These symbols come after S_LOCAL
symbols for optimized variables, but before S_REGISTER and S_REGREL32 for
unoptimized variables.

gcc/
* dwarf2codeview.cc (enum cv_sym_type): Add S_FRAMEPROC.
(write_s_frameproc): New function.
(write_function): Call write_s_frameproc.
gcc/dwarf2codeview.cc