[PATCH] [compiler-rt] Fix alloca_instruments_all_paddings.cc test to work under higher -O levels

Alexey Samsonov vonosmas at gmail.com
Sat Feb 21 15:47:27 PST 2015


================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:1650
@@ -1649,3 +1649,3 @@
     for (auto &AllocaCall : DynamicAllocaVec)
       handleDynamicAllocaCall(AllocaCall);
 
----------------
Is it wrong to just call
  unpoisonDynamicAlloca(AllocaCall);
here, and leave the rest of the function the same?

http://reviews.llvm.org/D7810

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list