-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Triple: Record default exception handling type #147225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Currently the default exception handling type is scattered across the backends in MCAsmInfo constructors. Allow this to be computed from the triple so the IR can centrally determine the set of ABI calls.
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This PR caused failures on https://lab.llvm.org/buildbot/#/builders/161/builds/6921. MCJITTests fail with commit 1121034 and pass with the commit right before it. @arsenm, can you please take a look? |
Fixes asserting with windows-elf triples. Should fix regression reported in #147225 (comment) I'm not sure this is a valid triple, but I'm guessing the MCJIT usage is an accident. This does change the behavior from trying to use WinEH to DwarfCFI; however the backend crashes with WinEH so I'm assuming following ELF is the more correct option.
#147875 I think fixes it |
Fixes asserting with windows-elf triples. Should fix regression reported in #147225 (comment) I'm not sure this is a valid triple, but I'm guessing the MCJIT usage is an accident. This does change the behavior from trying to use WinEH to DwarfCFI; however the backend crashes with WinEH so I'm assuming following ELF is the more correct option.
…147875) Fixes asserting with windows-elf triples. Should fix regression reported in llvm/llvm-project#147225 (comment) I'm not sure this is a valid triple, but I'm guessing the MCJIT usage is an accident. This does change the behavior from trying to use WinEH to DwarfCFI; however the backend crashes with WinEH so I'm assuming following ELF is the more correct option.
That fixed it, thanks! |
Currently the default exception handling type is scattered
across the backends in MCAsmInfo constructors. Allow this
to be computed from the triple so the IR can centrally determine
the set of ABI calls.