[sanitizer] Switch flag parsing to LowLevelAlloc.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 19 Jan 2015 11:47:13 +0000 (11:47 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Mon, 19 Jan 2015 11:47:13 +0000 (11:47 +0000)
commit6c6e589c1f09e519aaca5d7161801dd7d6fd8960
tree5a609ff3e6081a3cb146dccad7b8482669b3ed35
parent3231dd3c1c65ef67a61deebc4ee34c746ad40945
[sanitizer] Switch flag parsing to LowLevelAlloc.

InternalAlloc is quite complex and its behavior may depend on the values of
flags. As such, it should not be used while parsing flags.

Sadly, LowLevelAlloc does not support deallocation of memory.

llvm-svn: 226453
compiler-rt/lib/msan/msan.cc
compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.cc
compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h
compiler-rt/lib/sanitizer_common/sanitizer_flags.cc