LLVM 23.0.0git
llvm::X86AvoidTrailingCallPass Class Reference

Return a pass that inserts int3 at the end of the function if it ends with a CALL instruction. More...

#include "Target/X86/X86.h"

Inheritance diagram for llvm::X86AvoidTrailingCallPass:
[legend]

Public Member Functions

PreservedAnalyses run (MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Public Member Functions inherited from llvm::PassInfoMixin< X86AvoidTrailingCallPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)

Additional Inherited Members

Static Public Member Functions inherited from llvm::RequiredPassInfoMixin< X86AvoidTrailingCallPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::PassInfoMixin< X86AvoidTrailingCallPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::detail::InfoMixin< X86AvoidTrailingCallPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

Detailed 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.

Definition at line 231 of file X86.h.

Member Function Documentation

◆ run()


The documentation for this class was generated from the following files: