mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
Expose sjlj preparation through opt for my own debugging purposes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241864 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ccba68af82
commit
827f211e95
@ -303,6 +303,7 @@ void initializePlaceSafepointsPass(PassRegistry&);
|
||||
void initializeDwarfEHPreparePass(PassRegistry&);
|
||||
void initializeFloat2IntPass(PassRegistry&);
|
||||
void initializeLoopDistributePass(PassRegistry&);
|
||||
void initializeSjLjEHPreparePass(PassRegistry&);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -82,6 +82,8 @@ private:
|
||||
} // end anonymous namespace
|
||||
|
||||
char SjLjEHPrepare::ID = 0;
|
||||
INITIALIZE_PASS(SjLjEHPrepare, "sjljehprepare", "Prepare SjLj exceptions",
|
||||
false, false)
|
||||
|
||||
// Public Interface To the SjLjEHPrepare pass.
|
||||
FunctionPass *llvm::createSjLjEHPreparePass() { return new SjLjEHPrepare(); }
|
||||
|
@ -324,6 +324,7 @@ int main(int argc, char **argv) {
|
||||
initializeRewriteSymbolsPass(Registry);
|
||||
initializeWinEHPreparePass(Registry);
|
||||
initializeDwarfEHPreparePass(Registry);
|
||||
initializeSjLjEHPreparePass(Registry);
|
||||
|
||||
#ifdef LINK_POLLY_INTO_TOOLS
|
||||
polly::initializePollyPasses(Registry);
|
||||
|
Loading…
Reference in New Issue
Block a user