aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2017-03-06 21:31:18 +0000
committerJessica Paquette <jpaquette@apple.com>2017-03-06 21:31:18 +0000
commit596f483a5eb14a8b7b7ea92aa7337cdd3a1e66fd (patch)
treebb5fe1900ec82ee62a354e1be6c0e1e9c56d8377 /llvm/lib/CodeGen/CodeGen.cpp
parentdd4f5c5364ddd1a1c3d0f1d0e926ca928aa7a9fd (diff)
downloadllvm-596f483a5eb14a8b7b7ea92aa7337cdd3a1e66fd.zip
llvm-596f483a5eb14a8b7b7ea92aa7337cdd3a1e66fd.tar.gz
llvm-596f483a5eb14a8b7b7ea92aa7337cdd3a1e66fd.tar.bz2
[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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index b70c2b0..3ecf298 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);