]> 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>
Wed, 4 Jun 2025 11:51:19 +0000 (12:51 +0100)
commit75e514cfa56c202d4d481626c1f0ba74eb61ff86
treec722ad113843674deee4063a4011b652592dbd72
parent246fe7c3353759c377a2643cb0b861131ea95cb5
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]