[lld] Ensure NoTrapAfterNoreturn is false for the wasm backend (PR #65876)
Matt Harding via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 07:50:43 PDT 2023
majaha wrote:
Do you mean that there should be a test that checks that the `--no-trap-after-noreturn` command line option actually enables the behaviour it's supposed to?
Would that be a unit test, or an llvm-lit style test? Where might that test live?
After a quick search the closest thing I could find for `--trap-unreachable` is this: https://github.com/llvm/llvm-project/blob/116f7a2dcb86a7a8812a60fb7101f90329dada19/llvm/test/CodeGen/ARM/trap-unreachable.ll
which tests the effect on the ARM backend. There's also one for the Hexagon backend. Is this the kind of test you had in mind?
https://github.com/llvm/llvm-project/pull/65876
More information about the llvm-commits
mailing list