|
LLVM 22.0.0git
|
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"
Public Member Functions | |
| X86AvoidTrailingCallPass ()=default | |
| PreservedAnalyses | run (MachineFunction &MF, MachineFunctionAnalysisManager &MFAM) |
| Public Member Functions inherited from llvm::PassInfoMixin< X86AvoidTrailingCallPass > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
| static bool | isRequired () |
| Static Public Member Functions inherited from llvm::PassInfoMixin< X86AvoidTrailingCallPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
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.
|
default |
|
inlinestatic |
| PreservedAnalyses X86AvoidTrailingCallPass::run | ( | MachineFunction & | MF, |
| MachineFunctionAnalysisManager & | MFAM ) |
Definition at line 146 of file X86AvoidTrailingCall.cpp.
References llvm::PreservedAnalyses::all(), Changed, llvm::PreservedAnalyses::none(), llvm::PreservedAnalyses::preserveSet(), and UpdatedOnX86AvoidTrailingCallPass().