This is the only change needed for enabling dwarf exceptions on MinGW, no further changes are needed in clang or in libunwind.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
What exactly is the test intending to test? If its that the CFI is generated, I think that the input is too complex. Something simpler like:
void f(); void g() { try { f(); } catch (...) { } }
should be sufficient.
Comment Actions
The same goes here as for ARM as well - ideally we should probably use windows exception tables here as well, but on aarch64, there's even more things to do to get that working - while the dwarf version seems to work fine (at least when tested in wine) so far.
test/CodeGen/AArch64/dwarf-cfi.ll | ||
---|---|---|
1–3 ↗ | (On Diff #121368) | The split over multiple lines is not really helpful (especially when copy/pasting to debug). |