diff options
| author | bors <bors@rust-lang.org> | 2020-07-30 10:58:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-07-30 10:58:59 +0000 |
| commit | 1ce0cf070e0f5c1157976fc1106eded67bac2050 (patch) | |
| tree | d525917fa5220320d4cb5bde11f3cb51305b8ee8 /src/rustllvm/RustWrapper.cpp | |
| parent | 1799d31847294d6e3816c17679247a5c206e809a (diff) | |
| parent | 25670749b44a9c7a4cfd3fbf780bbe3344a9a6c5 (diff) | |
| download | rust-1ce0cf070e0f5c1157976fc1106eded67bac2050.tar.gz rust-1ce0cf070e0f5c1157976fc1106eded67bac2050.zip | |
Auto merge of #74105 - npmccallum:naked, r=matthewjasper
Suppress debuginfo on naked function arguments A function that has no prologue cannot be reasonably expected to support debuginfo. In fact, the existing code (before this patch) would generate invalid instructions that caused crashes. We can solve this easily by just not emitting the debuginfo in this case. Fixes https://github.com/rust-lang/rust/issues/42779 cc https://github.com/rust-lang/rust/issues/32408
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
