[LLD] [COFF] Include "rust_eh_personality" among the known personality functions
authorMartin Storsjö <martin@martin.st>
Thu, 27 Oct 2022 19:48:24 +0000 (22:48 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 28 Oct 2022 10:34:08 +0000 (13:34 +0300)
commit888d9e671fb5b44b74184e13beba2aa42133f4d6
tree4bbdcc3a9948de6e9d112fb32d3724510955aeff
parent2a812bdc70c6153f41907db056e348d9b322f01c
[LLD] [COFF] Include "rust_eh_personality" among the known personality functions

These need to have special treatment wrt to .eh_frame sections
and GC - as long as we don't have a full parser of the .eh_frame
section in the COFF linker.

This fixes Rust unwind issues on i686 mingw as discussed in
https://github.com/msys2/MINGW-packages/issues/9091.

Differential Revision: https://reviews.llvm.org/D136879
lld/COFF/Driver.cpp