]> granicus.if.org Git - llvm/commit
[Outliner] Fixed Asan bot failure in r296418
authorJessica Paquette <jpaquette@apple.com>
Mon, 6 Mar 2017 21:31:18 +0000 (21:31 +0000)
committerJessica Paquette <jpaquette@apple.com>
Mon, 6 Mar 2017 21:31:18 +0000 (21:31 +0000)
commitd43adee378829ff7a7119e5e384c27e9e30dc6e4
tree345d306fe33cc989fb700ef7bf259c89f5a91a52
parent490469a98cf9dfb8487443cf8973dce62d73c719
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297081 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/Passes.h
include/llvm/InitializePasses.h
include/llvm/Target/TargetInstrInfo.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/CodeGen.cpp
lib/CodeGen/MachineOutliner.cpp [new file with mode: 0644]
lib/CodeGen/TargetPassConfig.cpp
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
test/CodeGen/X86/machine-outliner-debuginfo.ll [new file with mode: 0644]
test/CodeGen/X86/machine-outliner.ll [new file with mode: 0644]