diff options
| author | Jessica Paquette <jpaquette@apple.com> | 2017-03-06 21:31:18 +0000 |
|---|---|---|
| committer | Jessica Paquette <jpaquette@apple.com> | 2017-03-06 21:31:18 +0000 |
| commit | 596f483a5eb14a8b7b7ea92aa7337cdd3a1e66fd (patch) | |
| tree | bb5fe1900ec82ee62a354e1be6c0e1e9c56d8377 /llvm/lib/CodeGen/CodeGen.cpp | |
| parent | dd4f5c5364ddd1a1c3d0f1d0e926ca928aa7a9fd (diff) | |
| download | bcm5719-llvm-596f483a5eb14a8b7b7ea92aa7337cdd3a1e66fd.tar.gz bcm5719-llvm-596f483a5eb14a8b7b7ea92aa7337cdd3a1e66fd.zip | |
[Outliner] Fixed Asan bot failure in r296418
Fixed the asan bot failure which led to the last commit of the outliner being reverted.
The change is in lib/CodeGen/MachineOutliner.cpp in the SuffixTree's constructor. LeafVector
is no longer initialized using reserve but just a standard constructor.
llvm-svn: 297081
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/CodeGen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp index b70c2b08ee0..3ecf2988b9a 100644 --- a/llvm/lib/CodeGen/CodeGen.cpp +++ b/llvm/lib/CodeGen/CodeGen.cpp @@ -58,6 +58,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) { initializeMachineLoopInfoPass(Registry); initializeMachineModuleInfoPass(Registry); initializeMachineOptimizationRemarkEmitterPassPass(Registry); + initializeMachineOutlinerPass(Registry); initializeMachinePipelinerPass(Registry); initializeMachinePostDominatorTreePass(Registry); initializeMachineRegionInfoPassPass(Registry); |

