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

Set more llvm function attributes for __rust_try #53437

Merged
merged 1 commit into from
Aug 18, 2018

Conversation

alexcrichton
Copy link
Member

This shim is generated elsewhere in the compiler so this commit adds support to
ensure it goes through similar paths as the rest of the compiler to set llvm
function attributes like target features.

cc #53372

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 16, 2018
This shim is generated elsewhere in the compiler so this commit adds support to
ensure it goes through similar paths as the rest of the compiler to set llvm
function attributes like target features.

cc rust-lang#53372
@cuviper
Copy link
Member

cuviper commented Aug 16, 2018

Looks good on my s390x machine! __rust_try is inlined again, and the backtrace issue is gone.

I'll probably close #53372 after this, unless similarly broken unwinding shows up elsewhere.

@michaelwoerister
Copy link
Member

Thanks, @alexcrichton!

@bors r+

@bors
Copy link
Contributor

bors commented Aug 17, 2018

📌 Commit 3188442 has been approved by michaelwoerister

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 17, 2018
@bors
Copy link
Contributor

bors commented Aug 18, 2018

⌛ Testing commit 3188442 with merge 6b1ff19...

bors added a commit that referenced this pull request Aug 18, 2018
…rister

Set more llvm function attributes for __rust_try

This shim is generated elsewhere in the compiler so this commit adds support to
ensure it goes through similar paths as the rest of the compiler to set llvm
function attributes like target features.

cc #53372
@bors
Copy link
Contributor

bors commented Aug 18, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: michaelwoerister
Pushing 6b1ff19 to master...

@bors bors merged commit 3188442 into rust-lang:master Aug 18, 2018
@alexcrichton alexcrichton deleted the fix-target-features branch August 18, 2018 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants