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 a function to add llvm ir directly #456

Open
NightProg opened this issue Dec 25, 2023 · 1 comment
Open

Add a function to add llvm ir directly #456

NightProg opened this issue Dec 25, 2023 · 1 comment
Labels

Comments

@NightProg
Copy link

NightProg commented Dec 25, 2023

Is your feature request related to a problem? Please describe.
I want to add my llvm ir code already written in llvm ir

Describe the solution you'd like
a method to import llvm ir string

Describe possible drawbacks to your solution
the function .load_ir(<ir_file>)

@KKould
Copy link

KKould commented Dec 30, 2023

Is Context::create_module_from_ir() what you want?

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

No branches or pull requests

3 participants