-
Notifications
You must be signed in to change notification settings - Fork 13k
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
trans: Re-enable unwinding on 64-bit MSVC #27676
Conversation
r? @jroesch (rust_highfive has picked a reviewer for you, use r? to override) |
5360e41
to
457e40c
Compare
cc @vadimcn |
👍 sweet |
/// This is only true for MSVC targets, and even then the 64-bit MSVC target | ||
/// currently uses SEH-ish unwinding with DWARF info tables to the side (same as | ||
/// 64-bit MinGW) instead of "full SEH". | ||
pub fn wants_seh(sess: &Session) -> bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find this nomenclature confusing: the format of LSDA is not a part of the SEH spec, so both -gnu and -msvc are "full SEH". I think this should be called wants_msvc_lsda
, or at least wants_msvc_seh
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me!
This commit leverages the runtime support for DWARF exception info added in rust-lang#27210 to enable unwinding by default on 64-bit MSVC. This also additionally adds a few minor fixes here and there in the test harness and such to get `make check` entirely passing on 64-bit MSVC: * The invocation of `maketest.py` now works with spaces/quotes in CC * debuginfo tests are disabled on MSVC * A link error for librustc was hacked around (see rust-lang#27438)
457e40c
to
b6b4f5a
Compare
@bors r+ |
📌 Commit b6b4f5a has been approved by |
This commit leverages the runtime support for DWARF exception info added in rust-lang#27210 to enable unwinding by default on 64-bit MSVC. This also additionally adds a few minor fixes here and there in the test harness and such to get `make check` entirely passing on 64-bit MSVC: * The invocation of `maketest.py` now works with spaces/quotes in CC * debuginfo tests are disabled on MSVC * A link error for librustc was hacked around (see rust-lang#27438)
This commit leverages the runtime support for DWARF exception info added
in #27210 to enable unwinding by default on 64-bit MSVC. This also additionally
adds a few minor fixes here and there in the test harness and such to get
make check
entirely passing on 64-bit MSVC:maketest.py
now works with spaces/quotes in CC