diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-04-19 15:17:34 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-04-21 08:38:44 -0700 |
| commit | f7439a5a4565b86b934610aafa9c69b9c53b672b (patch) | |
| tree | fe2fd568f85cabdc250e026c26fea845ea466e77 /src/rustllvm/PassWrapper.cpp | |
| parent | e59f78fb45f7db129f1b1a016da65a5b270220d9 (diff) | |
| download | rust-f7439a5a4565b86b934610aafa9c69b9c53b672b.tar.gz rust-f7439a5a4565b86b934610aafa9c69b9c53b672b.zip | |
rustc: Always emit `uwtable` on Android
Long ago (#40549) we enabled the `uwtable` attribute on Windows by default (even with `-C panic=abort`) to allow unwinding binaries for [stack unwinding information][winstack]. It looks like this same issue is [plaguing][arm1] Gecko's Android platforms [as well][arm2]. This commit applies the same fix as #40549 except that this time it's applied for all Android targets. Generating a `-C panic=abort` binary for `armv7-linux-androideabi` before this commit generated a number of `cantunwind` functions (detected with `readelf -u`) but after this commit they all list appropriate unwind information. Closes #49867 [winstack]: https://bugzilla.mozilla.org/show_bug.cgi?id=1302078 [arm1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1453220 [arm2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1451741
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
