-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Output of --emit-llvm -S won't assemble with llvm-as #2167
Labels
A-codegen
Area: Code generation
Comments
I get the same error if dissembled the .bc file with llvm-dis and assemble back. |
Not sure why we're declaring a global pointer to rust_start anyway. Seems like we should be declaring the rust_start function.
|
lht
added a commit
that referenced
this issue
Apr 9, 2012
lht
added a commit
that referenced
this issue
Apr 9, 2012
I realized the global thing is not a pointer, just a function. Look closely, it lacks a trailing star. :) LLVM LLparser should be correct to reject this. |
Fixxed! |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Sep 22, 2022
Check that diagnostics happen in the line that they are annotated for fixes rust-lang#2131
celinval
added a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
This will allow us to retrieve crash information from Kani driver once we merge rust-lang#2166.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I generate the llasm for run-pass/hello.rs and run it through the in-tree version of llvm-as I get the following error:
The .bc file works fine.
The text was updated successfully, but these errors were encountered: