aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2017-03-08 21:53:12 +0000
committerJordan Rose <jordan_rose@apple.com>2017-03-08 21:53:12 +0000
commit16300aa2961c88e29f6b33022cfdd90d2c7476e3 (patch)
treed6cf8b2cc1297cddc71329e512371e896b04b427 /llvm/lib/Support/Path.cpp
parentecb95f58a209e3e3abd796664f6f5308babd44be (diff)
downloadllvm-16300aa2961c88e29f6b33022cfdd90d2c7476e3.zip
llvm-16300aa2961c88e29f6b33022cfdd90d2c7476e3.tar.gz
llvm-16300aa2961c88e29f6b33022cfdd90d2c7476e3.tar.bz2
Add red zones to BumpPtrAllocator under ASan
To help catch buffer overruns, this patch changes BumpPtrAllocator to insert an extra unused byte between allocations when building with ASan. SpecificBumpPtrAllocator opts out of this behavior, since it needs to destroy its items later by walking the allocated memory. Reviewed by Pete Cooper. llvm-svn: 297310
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions