Skip to content

Conversation

cameel
Copy link
Collaborator

@cameel cameel commented Jan 15, 2025

Resolves #15716.

As discussed on today's call, I'm updating docs regarding internal function pointers.

I decided to add a whole subsection regarding internal pointer values since it got a bit too long to be just a warning. I split the section about function types into subsections and gave this new bit a subsection of its own. I also added an entry in "Security considerations", because this is something users must be aware of.

Specifically regarding #15716, I added notes that the compiler is free to remove internal functions that are not referenced explicitly, by name. Both in function type docs and in IR breaking changes.

@cameel cameel force-pushed the document-internal-function-pointer-stability-guarantees branch from 1983234 to 4b1bf33 Compare January 22, 2025 13:36
@cameel cameel merged commit bf6d708 into develop Jan 22, 2025
73 checks passed
@cameel cameel deleted the document-internal-function-pointer-stability-guarantees branch January 22, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The optimizer incorrectly removes assembly block that initializes function pointer
2 participants