ΒΆllvm::FunctionPass*
createX86AvoidTrailingCallPass()

Description

Return a pass that inserts int3 at the end of the function if it ends with a CALL instruction. The pass does the same for each funclet as well. This ensures that the open interval of function start and end PCs contains all return addresses for the benefit of the Windows x64 unwinder.

Declared at: llvm/lib/Target/X86/X86.h:98