Warn to not add debug hook targets
authorRichard Biener <rguenther@suse.de>
Mon, 22 Mar 2021 08:32:28 +0000 (09:32 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 22 Mar 2021 13:37:26 +0000 (14:37 +0100)
commit57d9ac67280a09f3714086b95fe4c20e34ef5706
treeff9bb9a79bcec2046dfa3745de6082b803ac944d
parentb931e4792b8696f3da69f70988720c4d1ec6142a
Warn to not add debug hook targets

This adds a boiler-plate warning to the debug hooks structure to
strongly discourage people from adding new debug hook targets since
we want to get rid of the current abstraction in favor of maintaining
a DWARF view of debug in the middle-end and have support for alternate
output formats to be generated off that DWARF representation.

2021-03-22  Richard Biener  <rguenther@suse.de>

* debug.h: Add deprecation warning.
gcc/debug.h