[gcc r15-2957] Fix maybe-uninitialized CodeView LF_INDEX warning

2024-08-16 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:2e2a1cae88522b1966ec01db4c5fda4dbb5949ef commit r15-2957-g2e2a1cae88522b1966ec01db4c5fda4dbb5949ef Author: Mark Harmstone Date: Mon Aug 12 23:19:55 2024 +0100 Fix maybe-uninitialized CodeView LF_INDEX warning Initialize last_type to 0 to silence two spurious

[gcc r15-2958] Write CodeView information about local static variables

2024-08-16 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:85e0d6723e7e056c079787486837bfb4f2fa6b8d commit r15-2958-g85e0d6723e7e056c079787486837bfb4f2fa6b8d Author: Mark Harmstone Date: Sat Jul 13 21:32:40 2024 +0100 Write CodeView information about local static variables Outputs CodeView S_LDATA32 symbols, for stat

[gcc r15-2959] Write CodeView information about enregistered variables

2024-08-16 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:af61fc99f7a98efd6446692cc61d9fa43f6173a4 commit r15-2959-gaf61fc99f7a98efd6446692cc61d9fa43f6173a4 Author: Mark Harmstone Date: Thu Aug 8 02:36:41 2024 +0100 Write CodeView information about enregistered variables Outputs CodeView S_REGISTER symbols, represen

[gcc r15-2960] Write CodeView information about stack variables

2024-08-16 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:1e7dabbbe271bee0a9610dfdb0d62647c04a6194 commit r15-2960-g1e7dabbbe271bee0a9610dfdb0d62647c04a6194 Author: Mark Harmstone Date: Thu Aug 8 02:38:54 2024 +0100 Write CodeView information about stack variables Outputs CodeView S_REGREL32 symbols for unoptimized

[gcc r15-3163] Write CodeView information about enregistered optimized variables

2024-08-25 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:ee020b4a6cb796c3363bed562fb43d7b36603108 commit r15-3163-gee020b4a6cb796c3363bed562fb43d7b36603108 Author: Mark Harmstone Date: Thu Aug 8 03:18:11 2024 +0100 Write CodeView information about enregistered optimized variables Enable variable tracking when outpu

[gcc r15-3164] Write CodeView information about optimized stack variables

2024-08-25 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:be23c8befcf37cabb3cef500d22d1af592139959 commit r15-3164-gbe23c8befcf37cabb3cef500d22d1af592139959 Author: Mark Harmstone Date: Sun Aug 11 02:23:26 2024 +0100 Write CodeView information about optimized stack variables Outputs S_DEFRANGE_REGISTER_REL symbols f

[gcc r15-3165] Write CodeView S_FRAMEPROC symbols

2024-08-25 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:3d87080598cf056fcfa25c72fcff0e06f67ee9ab commit r15-3165-g3d87080598cf056fcfa25c72fcff0e06f67ee9ab Author: Mark Harmstone Date: Sun Aug 11 02:48:00 2024 +0100 Write CodeView S_FRAMEPROC symbols Write S_FRAMEPROC symbols, which aren't very useful but seem to b

[gcc r15-3166] Write CodeView information about static locals in optimized code

2024-08-25 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:382fcf03e0ff6b32ce321fea6a81b87c8aa8f0c2 commit r15-3166-g382fcf03e0ff6b32ce321fea6a81b87c8aa8f0c2 Author: Mark Harmstone Date: Sun Aug 11 02:57:59 2024 +0100 Write CodeView information about static locals in optimized code Write CodeView S_LDATA32 symbols fo

[gcc r15-3276] Handle namespaced names for CodeView

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:350122685af24442501f19e2f03a0a2d8c651bc8 commit r15-3276-g350122685af24442501f19e2f03a0a2d8c651bc8 Author: Mark Harmstone Date: Mon Aug 26 21:03:58 2024 +0100 Handle namespaced names for CodeView Run all CodeView names through a new function get_name, which c

[gcc r15-3277] Handle scoping in CodeView LF_FUNC_ID types

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:310fd68c6cb62b69ddd98c61aab8cb9db242b6a4 commit r15-3277-g310fd68c6cb62b69ddd98c61aab8cb9db242b6a4 Author: Mark Harmstone Date: Mon Aug 26 21:19:51 2024 +0100 Handle scoping in CodeView LF_FUNC_ID types If a function is in a namespace, create an LF_STRING_ID

[gcc r15-3278] Record static data members in CodeView structs

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:6a9932ecdaac16c0fa21cc7c39589a3cd7cacf0f commit r15-3278-g6a9932ecdaac16c0fa21cc7c39589a3cd7cacf0f Author: Mark Harmstone Date: Mon Aug 26 21:34:46 2024 +0100 Record static data members in CodeView structs Record LF_STMEMBER field list subtypes to represent s

[gcc r15-3280] Write LF_MFUNC_ID types for CodeView struct member functions

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:155da081706e0e0527f01ad565b1cd6c217f5880 commit r15-3280-g155da081706e0e0527f01ad565b1cd6c217f5880 Author: Mark Harmstone Date: Mon Aug 26 22:16:11 2024 +0100 Write LF_MFUNC_ID types for CodeView struct member functions If recording the definition of a struct

[gcc r15-3279] Record member functions in CodeView struct definitions

2024-08-28 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:c5043d89449758ecf6a3f1475e027a73976f58c3 commit r15-3279-gc5043d89449758ecf6a3f1475e027a73976f58c3 Author: Mark Harmstone Date: Mon Aug 26 22:40:56 2024 +0100 Record member functions in CodeView struct definitions CodeView has two ways of recording struct mem

[gcc r15-2018] Add CodeView enum cv_leaf_type

2024-07-13 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:131fcb5a3820e44fa80e3b9c2abdecda98007776 commit r15-2018-g131fcb5a3820e44fa80e3b9c2abdecda98007776 Author: Mark Harmstone Date: Fri Jun 28 00:28:08 2024 +0100 Add CodeView enum cv_leaf_type Make everything more gdb-friendly by using an enum for type constants

[gcc r15-2019] Add CodeView enum cv_sym_type

2024-07-13 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:f53087a719d97959304d57b647cc8792061a9db3 commit r15-2019-gf53087a719d97959304d57b647cc8792061a9db3 Author: Mark Harmstone Date: Fri Jun 28 00:30:49 2024 +0100 Add CodeView enum cv_sym_type Make everything more gdb-friendly by using an enum for symbol constant

[gcc r15-2020] Avoid magic numbers when writing CodeView padding

2024-07-13 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:45a4f3425e91b2197c54213d60ee302be3babb8a commit r15-2020-g45a4f3425e91b2197c54213d60ee302be3babb8a Author: Mark Harmstone Date: Fri Jun 28 00:32:51 2024 +0100 Avoid magic numbers when writing CodeView padding Adds names for the padding magic numbers to enum c

[gcc r15-2021] Make sure CodeView symbols are aligned

2024-07-13 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:800e06c4b2635d1b709625ec2830c6c5594c6988 commit r15-2021-g800e06c4b2635d1b709625ec2830c6c5594c6988 Author: Mark Harmstone Date: Fri Jun 28 00:33:31 2024 +0100 Make sure CodeView symbols are aligned CodeView symbols have to be multiples of four bytes; add an a

[gcc r15-2022] Document return value in write_cv_integer

2024-07-13 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:677ef11681ee25eae6c75c703c1d187308114e5e commit r15-2022-g677ef11681ee25eae6c75c703c1d187308114e5e Author: Mark Harmstone Date: Fri Jun 28 00:34:43 2024 +0100 Document return value in write_cv_integer gcc/ * dwarf2codeview.cc (write_lf_modifier):

[gcc r15-2176] Output CodeView function information

2024-07-20 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:493c55578fe00f5f4a7534b8f5cb5213f86f4d01 commit r15-2176-g493c55578fe00f5f4a7534b8f5cb5213f86f4d01 Author: Mark Harmstone Date: Fri Jun 28 00:36:14 2024 +0100 Output CodeView function information Translate DW_TAG_subprogram DIEs into CodeView LF_FUNC_ID types

[gcc r15-2237] Output CodeView type information for references

2024-07-23 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:7341607544e01a4a155613470b2ef099b051b881 commit r15-2237-g7341607544e01a4a155613470b2ef099b051b881 Author: Mark Harmstone Date: Sat Jul 20 20:12:30 2024 +0100 Output CodeView type information for references Translates DW_TAG_reference_type DIEs into LF_POINTE

[gcc r15-2238] Output CodeView type information for rvalue references

2024-07-23 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:1ca7a12807a7fa0d9c27a5c8c45fa99ac9e7e027 commit r15-2238-g1ca7a12807a7fa0d9c27a5c8c45fa99ac9e7e027 Author: Mark Harmstone Date: Sat Jul 20 20:18:14 2024 +0100 Output CodeView type information for rvalue references Translates DW_TAG_rvalue_reference_type DIEs

[gcc r15-2469] Fix ICE when using -gcodeview with empty struct

2024-07-31 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:4c88b4e635f6025a897c5d059628e63ec5ba948f commit r15-2469-g4c88b4e635f6025a897c5d059628e63ec5ba948f Author: Mark Harmstone Date: Fri Jul 26 20:46:33 2024 +0100 Fix ICE when using -gcodeview with empty struct Empty structs result in empty LF_FIELDLIST types, wh

[gcc r15-2729] Fix handling of const or volatile void pointers in CodeView

2024-08-05 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:b0e2ccef0b3c469d5d242766328a24a94990f83b commit r15-2729-gb0e2ccef0b3c469d5d242766328a24a94990f83b Author: Mark Harmstone Date: Sun Aug 4 23:26:53 2024 +0100 Fix handling of const or volatile void pointers in CodeView DWARF represents voids in DW_TAG_const_ty

[gcc r15-4945] Write LF_BCLASS records in CodeView struct definitions

2024-11-04 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:7ac24078e06d95ecd234b5bfa07ff8dd47650791 commit r15-4945-g7ac24078e06d95ecd234b5bfa07ff8dd47650791 Author: Mark Harmstone Date: Thu Aug 29 02:35:37 2024 +0100 Write LF_BCLASS records in CodeView struct definitions When writing the CodeView type definition for

[gcc r15-4947] Handle T_HRESULT types in CodeView records

2024-11-04 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:6177b45fcdc4273c5e94e8032644ca5807e7e93b commit r15-4947-g6177b45fcdc4273c5e94e8032644ca5807e7e93b Author: Mark Harmstone Date: Sat Nov 2 15:31:12 2024 + Handle T_HRESULT types in CodeView records Follow MSVC in having a special type value, T_HRESULT, for

[gcc r15-4946] Write LF_POINTER CodeView types for pointers to member functions or data

2024-11-04 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:b0f4f556ea9f07d0b6fb6407ab25a193d27c806e commit r15-4946-gb0f4f556ea9f07d0b6fb6407ab25a193d27c806e Author: Mark Harmstone Date: Fri Nov 1 00:38:44 2024 + Write LF_POINTER CodeView types for pointers to member functions or data Translate DW_TAG_ptr_to_memb

[gcc r15-5434] Flatten anonymous structs in CodeView types

2024-11-18 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:f1f8d4c5115975875b5b1a15adbac50bc28a3922 commit r15-5434-gf1f8d4c5115975875b5b1a15adbac50bc28a3922 Author: Mark Harmstone Date: Sun Nov 10 00:23:49 2024 + Flatten anonymous structs in CodeView types If a CodeView struct, class, or union has as a member an

[gcc r15-5433] Produce CodeView info about nested types

2024-11-18 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:14d706ed0e90373c98a0ce223ffeea8846f6d9bc commit r15-5433-g14d706ed0e90373c98a0ce223ffeea8846f6d9bc Author: Mark Harmstone Date: Tue Nov 19 00:46:45 2024 + Produce CodeView info about nested types If the DIE for a struct, class, or union contains a nested

[gcc r15-5824] Don't output CodeView line numbers for inlined functions

2024-11-30 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:e908efbf2061c0ad46caed47a54222e894ac2d29 commit r15-5824-ge908efbf2061c0ad46caed47a54222e894ac2d29 Author: Mark Harmstone Date: Tue Nov 19 00:52:55 2024 + Don't output CodeView line numbers for inlined functions If we encounter an inlined function, treat

[gcc r15-5825] Write S_INLINEELINES CodeView subsection

2024-11-30 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:65b5c4afcfd439e7897b88f6c27d4a33a4c9c124 commit r15-5825-g65b5c4afcfd439e7897b88f6c27d4a33a4c9c124 Author: Mark Harmstone Date: Tue Nov 19 00:55:25 2024 + Write S_INLINEELINES CodeView subsection When outputting the .debug$S CodeView section, also write a

[gcc r15-5823] Add block parameter to begin_block debug hook

2024-11-30 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:4ed189854eae2d243557c9405f654bd9a16dadaa commit r15-5823-g4ed189854eae2d243557c9405f654bd9a16dadaa Author: Mark Harmstone Date: Mon Oct 28 22:32:29 2024 + Add block parameter to begin_block debug hook Add a parameter to the begin_block debug hook that is

[gcc r15-5826] Write S_INLINESITE CodeView symbols

2024-11-30 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:5297795e5b9e86fd2085a8f739f43fc28fb5e522 commit r15-5826-g5297795e5b9e86fd2085a8f739f43fc28fb5e522 Author: Mark Harmstone Date: Wed Nov 6 05:25:00 2024 + Write S_INLINESITE CodeView symbols Translate DW_TAG_inlined_subroutine DIEs into S_INLINESITE CodeVi

[gcc r15-5846] Write binary annotations for CodeView S_INLINESITE symbols

2024-12-01 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:75fe4e2932136c3814e7ba9a2620d395d8f18133 commit r15-5846-g75fe4e2932136c3814e7ba9a2620d395d8f18133 Author: Mark Harmstone Date: Thu Nov 7 03:59:18 2024 + Write binary annotations for CodeView S_INLINESITE symbols Add "binary annotations" at the end of Cod

[gcc r15-6271] Fix non-aligned CodeView symbols

2024-12-15 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:a895642e230456c183b80202c68a959aa4aabea6 commit r15-6271-ga895642e230456c183b80202c68a959aa4aabea6 Author: Mark Harmstone Date: Sat Nov 30 22:35:24 2024 + Fix non-aligned CodeView symbols CodeView symbols in PDB files are aligned to four-byte boundaries.

[gcc r15-6421] MAINTAINERS: add myself to write after approval

2024-12-22 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:eaa59db1576405bcf135d1ebcee47bb38c62d29d commit r15-6421-geaa59db1576405bcf135d1ebcee47bb38c62d29d Author: Mark Harmstone Date: Mon Dec 23 04:11:15 2024 + MAINTAINERS: add myself to write after approval ChangeLog: * MAINTAINERS: Add mysel

[gcc r15-6405] Fix compilation error in vmsdbgout_begin_block on VMS targets

2024-12-20 Thread Mark Harmstone via Gcc-cvs
https://gcc.gnu.org/g:0b63840e07132f727ca3fae1e0aa7255bacb8446 commit r15-6405-g0b63840e07132f727ca3fae1e0aa7255bacb8446 Author: Mark Harmstone Date: Fri Dec 20 02:29:21 2024 + Fix compilation error in vmsdbgout_begin_block on VMS targets Commit 4ed189854eae ("Add block parame