Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upFix handling of FFI arguments #33872
Conversation
nagisa
added some commits
May 25, 2016
nagisa
added
the
beta-nominated
label
May 25, 2016
rust-highfive
assigned
eddyb
May 25, 2016
This comment has been minimized.
This comment has been minimized.
|
Hmm, it clashes with debuginfo. |
eddyb
reviewed
May 25, 2016
|
|
||
| // FIXME: hacky lol? | ||
| datum::Datum::new(lltmp, arg_ty, | ||
| datum::Lvalue::new("datum::lvalue_scratch_datum")) |
This comment has been minimized.
This comment has been minimized.
eddyb
May 25, 2016
Member
This won't work with debuginfo, which wants an alloca with no casts on top.
I would suggest giving it the alloca before the cast and hope that it doesn't care about the type (debuginfo metadata should describe the actual value in the alloca all by itself).
cc @michaelwoerister
This comment has been minimized.
This comment has been minimized.
|
Thanks for the quick fix @nagisa! |
alexcrichton
added
the
T-compiler
label
May 26, 2016
nagisa
force-pushed the
nagisa:undef-is-llvm-for-sigsegv
branch
from
ae8fc5c
to
0d2a84c
May 26, 2016
This comment has been minimized.
This comment has been minimized.
|
Added a check for debuginfo thing. All should work now. If there’s any hard-pressing nits, feel to fork and make another PR as I’m likely to be in bed for a while now. |
This comment has been minimized.
This comment has been minimized.
|
@bors r+ p=100 |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
May 26, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Miscompiling the compiler, resulting in this for stage2
@alexcrichton Serious question: why is |
This comment has been minimized.
This comment has been minimized.
|
No particular reason, it just hasn't been done yet. We'd probably benefit from just setting it in the build system directly. |
This comment has been minimized.
This comment has been minimized.
|
@bors r=eddyb 2f0da79 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
May 26, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors retry force |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Another case of #33844. |
This comment has been minimized.
This comment has been minimized.
bors
merged commit 5b40452
into
rust-lang:master
May 26, 2016
alexcrichton
added
the
beta-accepted
label
May 26, 2016
This comment has been minimized.
This comment has been minimized.
|
Discussed on IRC and accepted for a beta backport |
nagisa commentedMay 25, 2016
r? @eddyb @nikomatsakis or whoever else.
cc @alexcrichton @rust-lang/core
The strategy employed here was to essentially change code we generate from
to