Skip to content

Disable probestack when GCOV profiling is being used - #51666

Merged
bors merged 1 commit into
rust-lang:masterfrom
marco-c:disable_probestack
Jun 22, 2018
Merged

Disable probestack when GCOV profiling is being used#51666
bors merged 1 commit into
rust-lang:masterfrom
marco-c:disable_probestack

Conversation

@marco-c

Copy link
Copy Markdown
Contributor

If I compile Firefox with gcov profiling enabled, Firefox crashes at startup because of probestack.
Since it's disabled for PGO, I think it makes sense to disable it for gcov too.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @oli-obk

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 20, 2018
@marco-c

Copy link
Copy Markdown
ContributorAuthor

CC @kennytm

@nagisa

Copy link
Copy Markdown
Member

The idea seems sound to me. It is a shame that it has to be disabled, as profiling no longer reflects the call overhead accurately, though.

@bors r+

@bors

bors commented Jun 21, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit e9aacfd has been approved by nagisa

@borsbors 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 Jun 21, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Jun 22, 2018
Disable probestack when GCOV profiling is being used
If I compile Firefox with gcov profiling enabled, Firefox crashes at startup because of probestack.
Since it's disabled for PGO, I think it makes sense to disable it for gcov too.
@kennytmkennytm mentioned this pull request Jun 22, 2018
bors added a commit that referenced this pull request Jun 22, 2018
Rollup of 6 pull requests
Successful merges:
- #51158 (Mention spec and indented blocks in doctest docs)
- #51629 (Do not consume semicolon twice while parsing local statement)
- #51637 (Update zx_cprng_draw_new on Fuchsia)
- #51664 (make more libsyntax methods public)
- #51666 (Disable probestack when GCOV profiling is being used)
- #51703 (Recognize the extra "LLVM tools versions" argument to build-manifest.)
Failed merges:
r? @ghost
@bors

bors commented Jun 22, 2018

Copy link
Copy Markdown
Collaborator

⌛ Testing commit e9aacfd with merge 4dc2d74...

@bors
bors merged commit e9aacfd into rust-lang:masterJun 22, 2018
@marco-c
marco-c deleted the disable_probestack branch June 23, 2018 12:24
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

5 participants

@marco-c@rust-highfive@nagisa@bors@oli-obk