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

Add extension points for TargetPassConfig::addMachinePasses #79

Open
ssarfaty opened this issue Dec 12, 2022 · 2 comments
Open

Add extension points for TargetPassConfig::addMachinePasses #79

ssarfaty opened this issue Dec 12, 2022 · 2 comments

Comments

@ssarfaty
Copy link

in LLVM 16 the Add extension points for MachinePass should be availible,
i couldn't find a way to write a plugin in LLVM that can change the function prologue and epilogue that the MachinePass creates..

do you have such example ?

@banach-space
Copy link
Owner

Hello 👋🏻 !

do you have such example ?

I do not. Would you like to contribute one? :)

-Andrzej

@ssarfaty
Copy link
Author

thats the problem with LLVM .. the new pass manager should have support also like GCC RTL pass the ASM changes but not many example exist ... for GCC there are some that change the Canary implementation: https://github.com/enferex/sataniccanary/blob/master/sataniccanary.c

i'm looking for such example in LLVM ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants