]> sourceware.org Git - glibc.git/commit
malloc: Use mtag_enabled instead of USE_MTAG
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 17 Feb 2021 10:15:18 +0000 (10:15 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 19 Mar 2021 11:46:20 +0000 (11:46 +0000)
commit5ed1f23333ec62c179d597d8f0e925c5aaa929d3
tree8092746eebc4fdb20f8e18c27672d9f93c1dcf42
parentdb0edd3cb8ba74b3b904122f643b4f5b021ee5a3
malloc: Use mtag_enabled instead of USE_MTAG

Use the runtime check where possible: it should not cause slow down in
the !USE_MTAG case since then mtag_enabled is constant false, but it
allows compiling the tagging logic so it's less likely to break or
diverge when developers only test the !USE_MTAG case.

Reviewed-by: DJ Delorie <dj@redhat.com>
malloc/hooks.c
malloc/malloc.c
This page took 0.047876 seconds and 5 git commands to generate.