When we create an invoke wrapper call, if the original call instruction
has a noreturn attribute, we shouldn't copy it, because we expect
invoke wrapper calls to return. This generated incorrect free call
before an invoke wrapper call that calls __cxa_throw, because
__cxa_throw has noreturn attribute.
Details
Details
- Reviewers
dschuff - Commits
- rG786da40667dc: [WebAssembly] Don't copy noreturn attr to invokes
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
5,680 ms | x64 debian > libFuzzer.libFuzzer::fork-ubsan.test |