]> git.ipfire.org Git - thirdparty/gcc.git/commit
ctfc: get rid of the static variable in ctf_list_add_ctf_vars ()
authorIndu Bhagat <indu.bhagat@oracle.com>
Thu, 14 Apr 2022 17:00:25 +0000 (10:00 -0700)
committerIndu Bhagat <indu.bhagat@oracle.com>
Thu, 14 Apr 2022 17:00:25 +0000 (10:00 -0700)
commit613a6fca75156aadc2e79d78a23e547d39762c1e
tree7746f8b711c23e0682e84f9f59c47fa67587c979
parent3fc22eedb033cbff1bf5a70c6a032d3c5ce2d867
ctfc: get rid of the static variable in ctf_list_add_ctf_vars ()

2022-04-14  Indu Bhagat  <indu.bhagat@oracle.com>

gcc/ChangeLog:

* ctfc.h (struct ctf_container): Introduce a new member.
* ctfout.cc (ctf_list_add_ctf_vars): Use it instead of static
variable.
gcc/ctfc.h
gcc/ctfout.cc