Page MenuHomePhabricator

[Coroutines] Make sure that async coroutine context size is a multiple of the alignment requirement

Authored by aschwaighofer on Nov 13 2020, 5:59 PM.



This simplifies the code the allocator has to executed

Diff Detail

Unit TestsFailed

360 mslinux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp
Script: -- : 'RUN: at line 3'; /mnt/disks/ssd0/agent/llvm-project/build/./bin/clang --driver-mode=g++ -m64 -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mcmodel=large -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions /mnt/disks/ssd0/agent/llvm-project/compiler-rt/test/hwasan/TestCases/sizes.cpp -nostdlib++ -lstdc++ -o /mnt/disks/ssd0/agent/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/sizes.cpp.tmp

Event Timeline

aschwaighofer created this revision.Nov 13 2020, 5:59 PM
aschwaighofer requested review of this revision.Nov 13 2020, 5:59 PM

Update the wording of a comment.

This revision is now accepted and ready to land.Nov 13 2020, 8:18 PM
This revision was landed with ongoing or failed builds.Nov 14 2020, 5:09 AM
This revision was automatically updated to reflect the committed changes.