//===- EscapeEnumerator.cpp -----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // Defines a helper class that enumerates all possible exits from a function, // including exception handling. // //===----------------------------------------------------------------------===// #include "llvm/Transforms/Utils/EscapeEnumerator.h" #include "llvm/IR/EHPersonalities.h" #include "llvm/IR/Module.h" #include "llvm/TargetParser/Triple.h" #include "llvm/Transforms/Utils/Local.h" usingnamespacellvm; static FunctionCallee getDefaultPersonalityFn(Module *M) { … } IRBuilder<> *EscapeEnumerator::Next() { … }