-
-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ubsan: fix "call to function through pointer to incorrect function ty…
…pe" (#4598) ubsan doesn't like call's through function pointers of incorrect function types. This is used in both hash/list stuff along with in genprim. This commit fixes things to make ubsan happy. Makes ubsan runtime errors such as the following go away: `runtime error: call to function flag_free through pointer to incorrect function type 'void (*)(void *)'`
- Loading branch information
Showing
3 changed files
with
40 additions
and
31 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
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