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

no member named 'runOnFunctions' #11

Closed
hxm-cpp opened this issue Oct 22, 2024 · 1 comment
Closed

no member named 'runOnFunctions' #11

hxm-cpp opened this issue Oct 22, 2024 · 1 comment

Comments

@hxm-cpp
Copy link

hxm-cpp commented Oct 22, 2024

[build] daedalus.cpp:272:27: error: no member named 'runOnFunctions' in 'llvm::MergeFunctionsPass'
[build]   272 |       MergeFunctionsPass::runOnFunctions(outlinedFunctions);
[build]       |       ~~~~~~~~~~~~~~~~~~~~^
[build] 1 error generated.

there is problem with the build, i tried LLVM FROM the HEAD 5bb34803a48598c3fa6e480de1814d5fe2d0f652 and LLVM 17

what could be the problem ?

@Casperento
Copy link
Collaborator

Hey @hxm-cpp,

Our pass relies on a specific fork of LLVM 17.

You can find the repository here: https://github.com/Casperento/llvm-project/tree/merge-functions-pass

At present, LLVM doesn't include the runOnFunctions method. We've already submitted a pull request to the official main branch, but it has yet to be reviewed.

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