diff options
| author | Leonard Chan <leonardchan@google.com> | 2023-04-26 21:48:37 +0000 |
|---|---|---|
| committer | Leonard Chan <leonardchan@google.com> | 2023-04-26 21:49:42 +0000 |
| commit | 82e5994c8d72734be813db7ea56af7325b9c9f68 (patch) | |
| tree | c8dba27f7369109a4ea6be843b58862eedd8ddf7 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | d94fe9728087f905dbd8fc32bc5c4a096b4d28c5 (diff) | |
[hwasan] Do not memset allocation if it comes from the secondary allocator
The secondary allocator calls mmap which should return zero-inited pages, so we
don't need to explicitly memset it with zeros. This is similar to what asan's
calloc does.
Differential Revision: https://reviews.llvm.org/D149285
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
