1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib/Transforms/Instrumentation
Kuba Brecka 0b51087486 [asan] fix false dynamic-stack-buffer-overflow report with constantly-sized dynamic allocas, LLVM part
See the bug report at https://github.com/google/sanitizers/issues/691. When a dynamic alloca has a constant size, ASan instrumentation will treat it as a regular dynamic alloca (insert calls to poison and unpoison), but the backend will turn it into a regular stack variable. The poisoning/unpoisoning is then broken. This patch will treat such allocas as static.

Differential Revision: http://reviews.llvm.org/D21509

llvm-svn: 273888
2016-06-27 15:57:08 +00:00
..
AddressSanitizer.cpp [asan] fix false dynamic-stack-buffer-overflow report with constantly-sized dynamic allocas, LLVM part 2016-06-27 15:57:08 +00:00
BoundsChecking.cpp Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. 2016-06-26 12:28:59 +00:00
CFGMST.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
CMakeLists.txt [PGO] Promote indirect calls to conditional direct calls with value-profile 2016-04-27 23:20:27 +00:00
DataFlowSanitizer.cpp Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. 2016-06-26 12:28:59 +00:00
EfficiencySanitizer.cpp [sanitizers] Disable target-specific lowering of string functions. 2016-06-18 10:10:37 +00:00
GCOVProfiling.cpp Apply clang-tidy's modernize-loop-convert to most of lib/Transforms. 2016-06-26 12:28:59 +00:00
IndirectCallPromotion.cpp make icall pass name consistent /NFC 2016-06-02 01:52:05 +00:00
IndirectCallSiteVisitor.h [PGO] Avoid instrumenting direct callee's at value sites. 2016-04-04 18:56:36 +00:00
InstrProfiling.cpp clang format change /NFC 2016-06-21 02:39:08 +00:00
Instrumentation.cpp [PM] code refactoring /NFC 2016-06-05 03:40:03 +00:00
LLVMBuild.txt [PGO] Resubmit "MST based PGO instrumentation infrastructure" (r254021) 2015-12-09 18:08:16 +00:00
MaximumSpanningTree.h
MemorySanitizer.cpp [msan] Tighten up type in StoreList. NFC. 2016-06-27 12:25:23 +00:00
PGOInstrumentation.cpp Fix PR28219: Use profile summary from reader and not compute it 2016-06-21 19:29:49 +00:00
SanitizerCoverage.cpp [sancov] enabling coverage edge pruning by default. 2016-04-06 23:24:37 +00:00
ThreadSanitizer.cpp Switch more loops to be range-based 2016-06-24 04:05:21 +00:00