Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign updebuginfo: Instruct MSVC linker to generate PDB file if debuginfo is enabled #26993
Conversation
rust-highfive
assigned
arielb1
Jul 12, 2015
This comment has been minimized.
This comment has been minimized.
|
r? @arielb1 (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
Oops, trailing whitespace in there. I'll fix it asap. |
michaelwoerister
force-pushed the
michaelwoerister:msvc-debuginfo
branch
from
03a4948
to
6c70127
Jul 12, 2015
This comment has been minimized.
This comment has been minimized.
|
OK, should be fixed now. |
This comment has been minimized.
This comment has been minimized.
|
Is there a downside to just always passing |
This comment has been minimized.
This comment has been minimized.
|
Passing |
This comment has been minimized.
This comment has been minimized.
alexcrichton
assigned
alexcrichton
and unassigned
arielb1
Jul 13, 2015
This comment has been minimized.
This comment has been minimized.
|
|
bors
added a commit
that referenced
this pull request
Jul 13, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
merged commit 6c70127
into
rust-lang:master
Jul 13, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
michaelwoerister commentedJul 12, 2015
This PR will enable RUSTC to generate PDB debuginfo files when targeting the MSVC toolchain. Mind that these are not full featured PDB files -- they just contain line tables, so you can get proper backtraces and step through your code, but variable values can't be inspected. We are just levering (LLVM's current support)[http://clang.llvm.org/docs/MSVCCompatibility.html] for creating Windows debuginfo. When LLVM's support gets better, we should benefit from that too without much effort.
I also wanted to include some kind of auto test with this PR but I could not get the
rmaketests to work properly when targeting MSVC.EDIT:
Closes #19533