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

SSA problem when using log_err with a computed string #335

Closed
pcwalton opened this issue Apr 20, 2011 · 0 comments
Closed

SSA problem when using log_err with a computed string #335

pcwalton opened this issue Apr 20, 2011 · 0 comments

Comments

@pcwalton
Copy link
Contributor

fn main() {
    log_err "foo" + "bar";
}

fails with:

Instruction does not dominate all uses!
  %12 = load %str* %3
  store %str %12, %str* %5
Broken module found, compilation aborted!
Stack dump:
0.  Running pass 'Function Pass Manager' on module 'rust_out'.
1.  Running pass 'Module Verifier' on function '@_rust_fn1_main'
oli-obk pushed a commit to oli-obk/rust that referenced this issue Sep 19, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Add support for pthread_condattr_t on Unix platforms.
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Add pthread_rwlockattr APIs

I'm basically trying to mirror the existing code for pthread_mutexattr.

Hopefully the non-linux parts are correct - finding the right definitions is rather confusing and occasionally even contradicts existing definitions (e.g. [this](https://github.com/practicalswift/osx/blob/a26375e7b3e01c83e26a23977f909438ed9b31b4/src/libpthread/src/internal.h#L295) `pthread_condattr_t` doesn't match rust-lang#335).
kazcw pushed a commit to kazcw/rust that referenced this issue Oct 23, 2018
The boilerplate just gets more and more ugly...
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
* add enzyme cmake package
antoyo added a commit to antoyo/rust that referenced this issue Oct 9, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
…-lang#335)

Correct vtable shim self type (add fixme for other cases)

Co-authored-by: Daniel Schwartz-Narbonne <danielsn@users.noreply.github.com>
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