diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2021-01-05 13:25:56 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2021-01-05 14:53:40 +0000 |
commit | abed0b0718a6a9cd24cc68fb1f73baf6b31d8ff4 (patch) | |
tree | 490951afb5e422263c184bf5161884ff0dda493d /libctf/ctf-lookup.c | |
parent | 9bc769718db238c98f14aafc335426f47b52d4cd (diff) | |
download | gdb-abed0b0718a6a9cd24cc68fb1f73baf6b31d8ff4.zip gdb-abed0b0718a6a9cd24cc68fb1f73baf6b31d8ff4.tar.gz gdb-abed0b0718a6a9cd24cc68fb1f73baf6b31d8ff4.tar.bz2 |
libctf: warn about information loss because of unreleased format changes
In the last cycle there have been various changes that have replaced
parts of the CTF format with other parts without format
compatibility. This was not a compat break, because the old format was
never accepted by any version of libctf (the not-in-official-release CTF
compiler patch was emitting an invalid func info section), but
nonetheless it can confuse users using that patch if they link together
object files and find the func info sections in the inputs silently
disappearing.
Scan the linker inputs for this problem and emit a warning if any are
found.
libctf/ChangeLog
2021-01-05 Nick Alcock <nick.alcock@oracle.com>
* ctf-link.c (ctf_link_warn_outdated_inputs): New.
(ctf_link_write): Call it.
Diffstat (limited to 'libctf/ctf-lookup.c')
0 files changed, 0 insertions, 0 deletions