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

how to generate bitcode? #1

Open
meweez opened this issue Mar 27, 2021 · 0 comments
Open

how to generate bitcode? #1

meweez opened this issue Mar 27, 2021 · 0 comments

Comments

@meweez
Copy link

meweez commented Mar 27, 2021

hello,

1-Can you please guide me on how to generate LLVM IR for the Linux kernel step by step?
is this the command which you used?

sudo make CC="clang -S -emit-llvm" HOSTCC="clang -S -emit-llvm" defconfig
sudo make CC="clang -S -emit-llvm" HOSTCC="clang -S -emit-llvm"  

2- how can i merge these files to one with llvm-link?

Thank you

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

1 participant