Skip to content

Make the backtrace-debuginfo test less error prone #27650

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
Aug 12, 2015

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Aug 10, 2015

LLVM might perform tail merging on the calls that initiate the unwinding
process which breaks debuginfo and therefore this test. Since tail
merging is guaranteed to break debuginfo, it should be disabled for this
test.

This allows us to restore a testcase that I had to remove earlier
because of the same problem, because back then I didn't realize that
disabling tail merging was an option.

cc #27619

@rust-highfive
Copy link
Contributor

r? @pcwalton

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

@alexcrichton
Copy link
Member

Impressive investigation! r=me with a comment in the test as well explaining the odd LLVM argument

LLVM might perform tail merging on the calls that initiate the unwinding
process which breaks debuginfo and therefore this test. Since tail
merging is guaranteed to break debuginfo, it should be disabled for this
test.

This allows us to restore a testcase that I had to remove earlier
because of the same problem, because back then I didn't realize that
disabling tail merging was an option.

cc rust-lang#27619
@dotdash
Copy link
Contributor Author

dotdash commented Aug 10, 2015

@bors r=alexcrichton

@bors
Copy link
Collaborator

bors commented Aug 10, 2015

📌 Commit 689d13d has been approved by alexcrichton

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Aug 12, 2015
LLVM might perform tail merging on the calls that initiate the unwinding
process which breaks debuginfo and therefore this test. Since tail
merging is guaranteed to break debuginfo, it should be disabled for this
test.

This allows us to restore a testcase that I had to remove earlier
because of the same problem, because back then I didn't realize that
disabling tail merging was an option.

cc rust-lang#27619
@bors bors merged commit 689d13d into rust-lang:master Aug 12, 2015
@dotdash dotdash deleted the backtrace_test branch January 31, 2016 15:28
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