diff options
| author | bors <bors@rust-lang.org> | 2017-10-18 13:36:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-10-18 13:36:17 +0000 |
| commit | fc208bb62ce83e18c990d23b67366a3ec4f21532 (patch) | |
| tree | 0e90287ecd4d7dc2602eb0760f84740f0d125830 /src/test/rustdoc/empty-mod-private.rs | |
| parent | 7a4f39453cfbeab1c2220331f2eae8938165c964 (diff) | |
| parent | 6bfecd41cc29a5faec964f2dc252443d5fda4293 (diff) | |
| download | rust-fc208bb62ce83e18c990d23b67366a3ec4f21532.tar.gz rust-fc208bb62ce83e18c990d23b67366a3ec4f21532.zip | |
Auto merge of #44573 - dotdash:dbg_bloat, r=arielb1
Avoid unnecessary allocas for indirect function arguments The extra alloca was only necessary because it made LLVM implicitly handle the necessary deref to get to the actual value. The same happens for indirect arguments that have the byval attribute. But the Rust ABI does not use the byval attribute and so we need to manually add the deref operation to the debuginfo.
Diffstat (limited to 'src/test/rustdoc/empty-mod-private.rs')
0 files changed, 0 insertions, 0 deletions
