diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2024-10-08 13:19:43 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-08 13:19:43 +1100 |
| commit | 4d638960186c3ee5485a1e0738e4a5c3df5ef62b (patch) | |
| tree | 442c3973ebdd46a0d3602b06bda1305592391a06 /compiler/rustc_pattern_analysis/src | |
| parent | 3ae715c8c63f9aeac47cbf7d8d9dadb3fa32c638 (diff) | |
| parent | 540e41f8b3822661d2f9d0768bbfe1dd3bb65e4d (diff) | |
| download | rust-4d638960186c3ee5485a1e0738e4a5c3df5ef62b.tar.gz rust-4d638960186c3ee5485a1e0738e4a5c3df5ef62b.zip | |
Rollup merge of #130824 - Darksonn:fix-function-return, r=wesleywiser
Add missing module flags for `-Zfunction-return=thunk-extern` This fixes a bug in the `-Zfunction-return=thunk-extern` flag. The flag needs to be passed onto LLVM to ensure that functions such as `asan.module_ctor` and `asan.module_dtor` that are created internally in LLVM have the mitigation applied to them. This was originally discovered [in the Linux kernel](https://lore.kernel.org/all/CANiq72myZL4_poCMuNFevtpYYc0V0embjSuKb7y=C+m3vVA_8g@mail.gmail.com/). Original flag PR: #116892 PR for similar issue: #129373 Tracking issue: #116853 cc ``@ojeda`` r? ``@wesleywiser``
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
