From 478c04a55ee59bf7e7f104c36a08253d15863610 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Tue, 2 Mar 2021 15:10:05 +0000 Subject: libctf: remove reference to "unconflicted link mode". There is no such thing, and the comment makes no sense, and doesn't match what the code is doing. We always want to put variables in the same dicts as the types they relate to if at all possible. libctf/ChangeLog 2021-03-02 Nick Alcock * ctf-link.c (ctf_link_one_variable): Remove reference to "unconflicted link mode". --- libctf/ChangeLog | 5 +++++ libctf/ctf-link.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 5c38c6f..e0d3f7b 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,5 +1,10 @@ 2021-03-02 Nick Alcock + * ctf-link.c (ctf_link_one_variable): Remove reference to + "unconflicted link mode". + +2021-03-02 Nick Alcock + * ctf-link.c (ctf_create_per_cu): Drop FILENAME now that it is always identical to CUNAME. (ctf_link_deduplicating_one_symtypetab): Adjust. diff --git a/libctf/ctf-link.c b/libctf/ctf-link.c index 5d813db..d598b78 100644 --- a/libctf/ctf-link.c +++ b/libctf/ctf-link.c @@ -499,9 +499,9 @@ ctf_link_one_variable (const char *name, ctf_id_t type, void *arg_) return 0; } - /* In unconflicted link mode, if this type is mapped to a type in the parent - dict, we want to try to add to that first: if it reports a duplicate, - or if the type is in a child already, add straight to the child. */ + /* If this type is mapped to a type in the parent dict, we want to try to add + to that first: if it reports a duplicate, or if the type is in a child + already, add straight to the child. */ insert_fp = arg->out_fp; -- cgit v1.1