Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btf_encoder: skip BTF encoding of static functions with inconsistent …
…prototypes Two static functions in different CUs can share the same name but have different function prototypes. In such a case BTF has no way currently to map which function description matches which function site, so it is safer to eliminate such duplicates by using the same global matching procedure used to identify functions with optimized-out parameters. Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
- Loading branch information
1 parent
c3766c9
commit 80eaecd
Showing
2 changed files
with
78 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters