skia2/include
Mike Klein 475c5e93fe turn on alignment sanitizer
This sanitizer checks for overaligned reads and writes,
or put another way, use of underaligned pointers.

This usually happens when you cast, e.g. char* to int*
without checking that the char* is 4-byte aligned.  Each
of the changes under src/ fixes something just like that.

The unusual setup for tools/xsan.blacklist is there to
force a rebuild whenever tools/xsan.blacklist changes.
I spent a good few minutes debugging rebuilds not happening
this morning, perhaps from some strange ccache interaction.

Align SkTextBlobs as void* (today they're just 4-byte) so the
SkTextBlob::RunRecords we put after them in SkTextBlobBuilder
buffers are properly aligned (for the SkTypeface* inside).

There's no obvious error in void SkRRect::computeType(),
but one bot seems to have seen some sort of issue with

    SK_AT_SCOPE_EXIT(SkASSERT(this->isValid()));

I can't reproduce it locally, so I'm just going to unroll it.

Change-Id: I904d94f65f695e1b626b684c32216a4930b72b0c
Reviewed-on: https://skia-review.googlesource.com/146104
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
2018-08-09 21:13:15 +00:00
..
android Alternate between two SkBitmaps in SkAnimatedImage 2018-05-23 20:49:42 +00:00
atlastext Move op memory storage to GrContext (take 2) 2018-06-19 19:51:20 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core turn on alignment sanitizer 2018-08-09 21:13:15 +00:00
effects remove unimplemented headers 2018-07-20 16:19:47 +00:00
encode Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
gpu Update vulkan features (again) to support extension features. 2018-08-08 13:48:38 +00:00
pathops Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ports Expose public factories for platform decoders 2018-06-26 17:30:52 +00:00
private switch SkTDArray from push to push_back 2018-08-08 21:13:57 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00