Go to file
Kostya Kortchinsky 2defe4d9a1 [sanitizer] Do not use the alignment-rounded-up size when using the secondary
Summary:
The combined allocator rounds up the requested size with regard to the
alignment, which makes sense when being serviced by the primary as it comes
with alignment guarantees, but not with the secondary. For the rare case of
large alignments, it wastes memory, and entices unnecessarily large fields for
the Scudo header. With this patch, we pass the non-alignement-rounded-up size
to the secondary, and adapt the Scudo code for this change.

Reviewers: alekseyshl, kcc

Subscribers: llvm-commits, kubabrecka

Differential Revision: https://reviews.llvm.org/D27428

llvm-svn: 289088
2016-12-08 19:05:46 +00:00
clang [DOXYGEN] Improved doxygen comments. 2016-12-08 17:57:23 +00:00
clang-tools-extra [change-namespace] always add a '::' prefix when a symbol reference needs to be fully-qualified. 2016-12-07 20:08:02 +00:00
compiler-rt [sanitizer] Do not use the alignment-rounded-up size when using the secondary 2016-12-08 19:05:46 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Add more test cases to packaged_task copyability test 2016-12-08 10:02:04 +00:00
libcxxabi [libc++abi] Add _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS 2016-12-05 19:42:11 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld Revert r289084: Start using make() in COFF. 2016-12-08 18:49:04 +00:00
lldb When we interrupt a process, it was possible or the thread names 2016-12-08 06:27:29 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm IR, X86: Understand !absolute_symbol metadata on global variables. 2016-12-08 19:01:00 +00:00
openmp Support of mips & mips64 for openmprtl 2016-12-08 09:22:24 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly Add unittests for foreach(Elt|Piece). NFC. 2016-12-07 17:48:02 +00:00