• Vlad Tsyrklevich's avatar
    GWP-ASan: Rename metadata member variables · b2fe4f85
    Vlad Tsyrklevich authored
    The slots_ member was always misnamed, as it is really an array of
    metadata _about_ slots, not the slots (pages) themselves. The
    slot_metadata member variable would be clearer as 'metadata_addr' to
    denote that it's an address. These renames are in anticipation of an
    upcoming change that will make slots/metadata more distinct (no 1:1
    mapping.)
    
    Bug: 939142
    Change-Id: I58e5f8035ea571fe7c0b0a4fb6bb0114580984e8
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1507217
    Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
    Auto-Submit: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
    Reviewed-by: default avatarVitaly Buka <vitalybuka@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#638659}
    b2fe4f85
allocator_state.cc 4.76 KB