[hwasan] Add malloc_fill_byte and free_fill_byte flags.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 16 Aug 2018 20:13:09 +0000 (20:13 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 16 Aug 2018 20:13:09 +0000 (20:13 +0000)
commitfa9f78553a5033a9a073164a931b4fd47f446702
treecbf3d86e37dbaeef60d4935c25acc8d7150a9126
parentbb1aede8653a9aad05ed6a09b18a849b86743c5d
[hwasan] Add malloc_fill_byte and free_fill_byte flags.

Reviewers: vitalybuka, kcc

Subscribers: kubamracek, llvm-commits

Differential Revision: https://reviews.llvm.org/D50753

llvm-svn: 339932
compiler-rt/lib/hwasan/hwasan_allocator.cc
compiler-rt/lib/hwasan/hwasan_flags.inc
compiler-rt/test/hwasan/TestCases/malloc_fill.cc [new file with mode: 0644]