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

stop disabling ASLR in normal Windows builds #17363

Merged
merged 1 commit into from
Sep 20, 2014
Merged

stop disabling ASLR in normal Windows builds #17363

merged 1 commit into from
Sep 20, 2014

Conversation

thestinger
Copy link
Contributor

Closes #16514

@alexcrichton
Copy link
Member

This was disabled in #17161, have you confirmed the debuginfo tests are still passing?

@alexcrichton
Copy link
Member

Hm, nevermind.

@@ -1024,7 +1024,9 @@ fn link_args(cmd: &mut Command,

// Mark all dynamic libraries and executables as compatible with ASLR
// FIXME #17098: ASLR breaks gdb
// cmd.arg("-Wl,--dynamicbase");
if sess.opts.debuginfo != NoDebugInfo {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this check be instead == NoDebugInfo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 19, 2014
@bors bors merged commit 360a29d into rust-lang:master Sep 20, 2014
@thestinger thestinger deleted the aslr branch September 20, 2014 04:54
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.

use ASLR on Windows
3 participants