Restrict LLVM inline asm location cookie usage. Fixes #150451 - #160197
Conversation
This comment has been minimized.
This comment has been minimized.
1238b04 to
e840de9
Compare
This comment has been minimized.
This comment has been minimized.
e840de9 to
4326f37
Compare
|
cc @bjorn3 |
|
Is it possible to add a test case for this? |
|
Reminder, once the PR becomes ready for a review, use |
4326f37 to
dbef79f
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
a22e364 to
6d6d87d
Compare
|
@bors try jobs=dist-armv7-linux |
This comment has been minimized.
This comment has been minimized.
Restrict LLVM inline asm location cookie usage. Fixes #150451 try-job: dist-armv7-linux
…O is enabled The parallel frontend makes the cookies nondeterministic in their current form, resulting in nondeterministic outputs when bitcode is emitted or LTO is used. Causes minor diagnostic regression for inline asm in release builds.
6d6d87d to
970cb98
Compare
|
@rustbot ready |
|
@bors r+ |
…s, r=petrochenkov Restrict LLVM inline asm location cookie usage. Fixes rust-lang#150451 The parallel frontend makes the cookies nondeterministic in their current form, resulting in nondeterministic outputs when bitcode is emitted or LTO is used. Causes minor diagnostic regression for inline asm in release builds. See rust-lang#150451 for details. Fixes rust-lang#150451 r? bjorn3
…uwer Rollup of 11 pull requests Successful merges: - #158153 (avoid spurious lifetime diagnostic in async generic case) - #160197 (Restrict LLVM inline asm location cookie usage. Fixes #150451) - #162413 (Unconditionally invalidate the library when the compiler changes) - #162294 (Reflection refactor ptrs) - #162354 (Make comptime functions ineligible for coverage) - #162379 (add test ensuring we refuse to const-eval the body of a rustc_do_not_const_check function) - #162386 (Add a regression test for trailing attributes in doctests) - #162410 (std: remove exceed whitespace in docs) - #162420 (mir_build: Don't pass a redundant `scrutinee_span` to some MIR-build methods) - #162430 (rustc-dev-guide subtree update) - #162431 (add next-solver FIXMEs)
Rollup merge of #160197 - susitsm:restrict-inline-asm-cookies, r=petrochenkov Restrict LLVM inline asm location cookie usage. Fixes #150451 The parallel frontend makes the cookies nondeterministic in their current form, resulting in nondeterministic outputs when bitcode is emitted or LTO is used. Causes minor diagnostic regression for inline asm in release builds. See #150451 for details. Fixes #150451 r? bjorn3
…ochenkov Restrict LLVM inline asm location cookie usage. Fixes #150451 The parallel frontend makes the cookies nondeterministic in their current form, resulting in nondeterministic outputs when bitcode is emitted or LTO is used. Causes minor diagnostic regression for inline asm in release builds. See #150451 for details. Fixes #150451 r? bjorn3
View all comments
The parallel frontend makes the cookies nondeterministic in their current form, resulting in nondeterministic outputs when bitcode is emitted or LTO is used.
Causes minor diagnostic regression for inline asm in release builds. See #150451 for details.
Fixes #150451
r? bjorn3