mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 08:51:43 +00:00
Expose sjlj preparation through opt for my own debugging purposes
llvm-svn: 241864
This commit is contained in:
parent
e56a7b90eb
commit
620d7274c1
@ -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