Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle depolymorphization #5

Open
notnotmelon opened this issue Aug 12, 2024 · 0 comments
Open

Handle depolymorphization #5

notnotmelon opened this issue Aug 12, 2024 · 0 comments

Comments

@notnotmelon
Copy link
Member

Both C++ functions that use templates and member functions on templates classes go through a process known as depolymorphization.

This process creates numerous asm functions which collectively represent all possible instantions of those templates by the compiler.

We cannot reasonably ask users to detour into all of these instances individually. There must be some multi detour mechanism to automatically detour into all instances of a templated function.

Affects both clang and msvc

@notnotmelon notnotmelon converted this from a draft issue Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant