On Mon, Jan 25, 2021 at 12:03 PM Sami Tolvanen <samitolva...@google.com> wrote: > > Neither, I noticed this because the conflicting function declarations > broke Clang's Control Flow Integrity checking.
Ahh, interesting. Is that automated somewhere, or are you running your own special checks? It sounds like a useful thing. I was thinking that maybe I should make some sparse-based cross-file checker, but it sounds like -fsanitize=cfi (or whatever it is you do) catches it. Linus