Skip to content

Revert "msvc: Enable landing pads by default" #26919

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

Merged
merged 1 commit into from
Jul 10, 2015

Conversation

alexcrichton
Copy link
Member

There are a number of problems with MSVC landing pads today:

  • They only work about 80% of the time with optimizations enabled. For example when running the run-pass test suite a failing test will cause compiletest to segfault (b/c of a thread panic). There are also a large number of run-fail tests which will simply crash.
  • Enabling landing pads caused the regression seen in LLVM assertion regression for msvc #26915.

Overall it looks like LLVM's support for MSVC landing pads isn't as robust as we'd like for now, so let's take a little more time before we turn them on by default.

Closes #26915

This reverts commit f9de964.

Conflicts:
	src/librustc_trans/trans/base.rs
@rust-highfive
Copy link
Contributor

r? @pcwalton

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

@alexcrichton
Copy link
Member Author

r? @brson

@rust-highfive rust-highfive assigned brson and unassigned pcwalton Jul 9, 2015
@brson
Copy link
Contributor

brson commented Jul 9, 2015

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 9, 2015

📌 Commit 813cfa5 has been approved by brson

@bors
Copy link
Collaborator

bors commented Jul 9, 2015

⌛ Testing commit 813cfa5 with merge 56e1c47...

@bors
Copy link
Collaborator

bors commented Jul 9, 2015

💔 Test failed - auto-linux-32-opt

@alexcrichton
Copy link
Member Author

@bors: retry

On Thu, Jul 9, 2015 at 1:46 PM, bors notifications@github.com wrote:

[image: 💔] Test failed - auto-linux-32-opt
http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5657


Reply to this email directly or view it on GitHub
#26919 (comment).

@bors
Copy link
Collaborator

bors commented Jul 9, 2015

⌛ Testing commit 813cfa5 with merge 3c935f8...

@bors
Copy link
Collaborator

bors commented Jul 9, 2015

💔 Test failed - auto-linux-32-opt

@alexcrichton
Copy link
Member Author

@bors: retry

On Thu, Jul 9, 2015 at 2:37 PM, bors notifications@github.com wrote:

[image: 💔] Test failed - auto-linux-32-opt
http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5659


Reply to this email directly or view it on GitHub
#26919 (comment).

@bors
Copy link
Collaborator

bors commented Jul 9, 2015

⌛ Testing commit 813cfa5 with merge 3030138...

@bors
Copy link
Collaborator

bors commented Jul 9, 2015

💔 Test failed - auto-win-gnu-64-nopt-t

@alexcrichton
Copy link
Member Author

@bors: retry

On Thu, Jul 9, 2015 at 2:50 PM, bors notifications@github.com wrote:

[image: 💔] Test failed - auto-win-gnu-64-nopt-t
http://buildbot.rust-lang.org/builders/auto-win-gnu-64-nopt-t/builds/620


Reply to this email directly or view it on GitHub
#26919 (comment).

@bors
Copy link
Collaborator

bors commented Jul 10, 2015

⌛ Testing commit 813cfa5 with merge cdcce3b...

bors added a commit that referenced this pull request Jul 10, 2015
There are a number of problems with MSVC landing pads today:

* They only work about 80% of the time with optimizations enabled. For example when running the run-pass test suite a failing test will cause `compiletest` to segfault (b/c of a thread panic). There are also a large number of run-fail tests which will simply crash.
* Enabling landing pads caused the regression seen in #26915.

Overall it looks like LLVM's support for MSVC landing pads isn't as robust as we'd like for now, so let's take a little more time before we turn them on by default.


Closes #26915
@bors bors merged commit 813cfa5 into rust-lang:master Jul 10, 2015
@alexcrichton alexcrichton deleted the msvc-turn-off-unwinding branch July 10, 2015 22:31
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

Successfully merging this pull request may close these issues.

5 participants