Skip to content

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