https://sourceware.org/bugzilla/show_bug.cgi?id=34666
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-09-21
Ever confirmed|0 |1
CC| |mark at klomp dot org
Status|UNCONFIRMED |NEW
--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
It is not entirely clear if this is deliberate or not.
You are right that if there is a real symbol/function declaration in the main
CU, then it pops up (as entry one) in the file list and so will be printed.
eu-srcfiles has an option -c:
-c, --cu-only Only list the CU names.
Which will print it (but without any other files):
$ eu-srcfiles -c -e test.o
/tmp/test.c
So it could have also included it in the full file list. I am not sure why the
current code doesn't. Maybe because it assumed the main CU file name would also
appear as entry one, if relevant.
--
You are receiving this mail because:
You are on the CC list for the bug.