Make it atomic.
Wrap it into class.
Set it late after chunk is initialized.
Reset it soon when the chunk is still valid.
Depends on D87645.
Paths
| Differential D87646
[Asan] Cleanup kAllocBegMagic setup ClosedPublic Authored by vitalybuka on Sep 14 2020, 3:55 PM.
Details
Summary Make it atomic. Depends on D87645.
Diff Detail
Event Timelinevitalybuka added a child revision: D87647: [NFC][Asan] Remove chunk pointer from metadata.Sep 14 2020, 3:58 PM This revision is now accepted and ready to land.Sep 14 2020, 5:31 PM This revision was landed with ongoing or failed builds.Sep 15 2020, 12:12 AM Closed by commit rG08507d83be15: [Asan] Cleanup kAllocBegMagic setup (authored by vitalybuka). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 291717 compiler-rt/lib/asan/asan_allocator.cpp
|
I'm not sure which style guide we follow, but Google style is to have constants before other members.