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).
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/asan/asan_stack.h | ||
---|---|---|
26 ↗ | (On Diff #17244) | I'd prefer to have it a static var with a getter |
Comment Actions
- Replace extern atomic with Get/Set pair.
lib/asan/asan_stack.h | ||
---|---|---|
26 ↗ | (On Diff #17244) | Done |