[all-commits] [llvm/llvm-project] d3bc86: [Allocator] Make Deallocate() pass alignment and m...
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Sat May 2 07:09:19 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d3bc86c2ed579c3b854d37c114a85901ed8cfb9a
https://github.com/llvm/llvm-project/commit/d3bc86c2ed579c3b854d37c114a85901ed8cfb9a
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2020-05-02 (Sat, 02 May 2020)
Changed paths:
M llvm/include/llvm/ADT/StringMapEntry.h
M llvm/include/llvm/Support/Allocator.h
M llvm/include/llvm/Support/AllocatorBase.h
M llvm/include/llvm/Support/YAMLParser.h
M llvm/unittests/ADT/StringMapTest.cpp
M llvm/unittests/Support/AllocatorTest.cpp
Log Message:
-----------
[Allocator] Make Deallocate() pass alignment and make it use (de)allocate_buffer
This lets it use sized deallocation and make more efficient alignment
decisions. Also adjust BumpPtrAllocator to always allocate at
alignof(std::max_align_t).
More information about the All-commits
mailing list