diff options
| author | Alexey Samsonov <vonosmas@gmail.com> | 2014-12-16 01:23:03 +0000 | 
|---|---|---|
| committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-12-16 01:23:03 +0000 | 
| commit | bba821b5b143625eaad566ed524d5b40ed732ba9 (patch) | |
| tree | 55f5c0564108b9b0b89c0c778e60ed5f3861dea6 /llvm/lib/Object/Archive.cpp | |
| parent | ab534366fe39b145748d5e004d58fdb0cdabfe77 (diff) | |
| download | llvm-bba821b5b143625eaad566ed524d5b40ed732ba9.zip llvm-bba821b5b143625eaad566ed524d5b40ed732ba9.tar.gz llvm-bba821b5b143625eaad566ed524d5b40ed732ba9.tar.bz2 | |
[ASan] Allow to atomically modify malloc_context_size at runtime.
Summary:
Introduce __asan::malloc_context_size atomic that is used to determine
required malloc/free stack trace size. It is initialized with
common_flags()->malloc_context_size flag, but can later be overwritten
at runtime (e.g. when ASan is activated / deactivated).
Test Plan: regression test suite
Reviewers: kcc, eugenis
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6645
llvm-svn: 224305
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
0 files changed, 0 insertions, 0 deletions
