[PATCH] D26380: [asan] Speed up compilation of large C++ stringmaps (tons of allocas) with ASan

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 13:29:32 PST 2016


eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.

LGTM w/ nit



================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:641
   SmallVector<AllocaInst *, 16> AllocaVec;
-  SmallSetVector<AllocaInst *, 16> NonInstrumentedStaticAllocaVec;
+  SmallSetVector<AllocaInst *, 16> StaticAllocasToMoveUp;
   SmallVector<Instruction *, 8> RetVec;
----------------
This can be just SmallVector.


Repository:
  rL LLVM

https://reviews.llvm.org/D26380





More information about the llvm-commits mailing list