diff options
| author | Tyler Mandry <tmandry@gmail.com> | 2020-08-13 18:00:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-13 18:00:10 -0700 |
| commit | 1f73e898ee1da743bf9b27e529e070424ca25acf (patch) | |
| tree | 1566be836da875beb7e1bf01a777c553fbb4dea9 /src/test/codegen/src-hash-algorithm | |
| parent | 8c361aa28d42b3fe95675e461f2d96b05de681de (diff) | |
| parent | 050fb380aaa5f95ca27d6365cea06ea614c4cbf7 (diff) | |
| download | rust-1f73e898ee1da743bf9b27e529e070424ca25acf.tar.gz rust-1f73e898ee1da743bf9b27e529e070424ca25acf.zip | |
Rollup merge of #75417 - npmccallum:naked, r=matthewjasper
Don't spill operands onto the stack in naked functions Currently, the code spills operands onto the stack for the purpose of debuginfo. However, naked functions can only contain an asm block. Therefore, attempting to spill the operands on the stack is undefined behavior. Fixes https://github.com/rust-lang/rust/issues/42779 cc https://github.com/rust-lang/rust/issues/32408 Note that this PR reverts https://github.com/rust-lang/rust/pull/74105 which ultimately didn't fix the problem. cc @haraldh @Amanieu @matthewjasper
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
