summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-03-25 10:34:46 -0700
committerElliott Hughes <enh@google.com>2020-03-26 11:43:05 -0700
commit4a6899ce0c0fc900354f44af400fb66ec29440e0 (patch)
treece91e984c6372ae2cb401ad58fc763a89ac19899 /libc/malloc_hooks/malloc_hooks.cpp
parent8d1849930f10e6b1a6b9c5885def5a08cee44040 (diff)
Add ffsl(3), ffsll(3).
POSIX added these GNU extensions for issue 8. I've made these always inline without the usual "until API level X" proviso because they're single instructions that the compiler can inline and there's really no point providing these if they add function call overhead --- everyone should just use __builtin_ffs() and friends instead in that case. Bug: https://austingroupbugs.net/view.php?id=617 Test: treehugger Change-Id: I33fc4b8648ea25917329e81c1b4c60eb9a66d667
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions