]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Revert "libctf: fix linking of non-root-visible types"
authorNick Alcock <nick.alcock@oracle.com>
Fri, 30 May 2025 14:31:36 +0000 (15:31 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Thu, 26 Jun 2025 14:50:47 +0000 (15:50 +0100)
commit831b9940194324660845806a0cfd0dca46afda38
tree85e52779fa07e6e13fe1f563a9cae75852562f9c
parent0e7d3016f2efeb9c8ee08c5965d363e379d496e3
Revert "libctf: fix linking of non-root-visible types"

This reverts commit 87b2f673102884d7c69144c85a26ed5dbaa4f86a.

It is based on a misconception, that hidden types in the deduplicator
input should always be hidden in the output.  For cu-mapped links,
and final links following cu-mapped links, this is not true: we want
to hide inputs if they were conflicting on the output and no more.

We will reintroduce the testcase once a better fix is found.

libctf/
PR libctf/33047
* ctf-dedup.c (ctf_dedup_emit_type): Don't respect the nonroot flag.
* testsuite/libctf-writable/ctf-nonroot-linking.c: Removed.
* testsuite/libctf-writable/ctf-nonroot-linking.lk: Removed.
libctf/ctf-dedup.c
libctf/testsuite/libctf-writable/ctf-nonroot-linking.c [deleted file]
libctf/testsuite/libctf-writable/ctf-nonroot-linking.lk [deleted file]