Skip to content
Snippets Groups Projects
Commit 26f77e19 authored by Kostya Kortchinsky's avatar Kostya Kortchinsky Committed by CQ bot account: commit-bot@chromium.org
Browse files

[scudo] Various code generation optimizations

Scudo has to not be compiled with `-ffreestanding` so that various small
fixed size `memcpy()` can be optimized away, as such we can't depend on
musl_internal.

On the other hand, the compiler is pretty aggressive at inlining things
resulting in some code bloat, where a large function is duplicated many
times. So we add the `ALWAYS_INLINE` or `NOINLINE` attributes to various
functions to make the generated code less clunky.

Finally, include some changes from upstream reviews.

Change-Id: Ie80d51e84b7d496e09934e1a59b1ea70eedf710e
parent 69b95652
No related branches found
No related tags found
Loading
Showing
with 95 additions and 95 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment