aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-12-02 14:42:16 -0800
committerElliott Hughes <enh@google.com>2021-12-02 14:42:16 -0800
commita13d0660feca251566ab29bc6beb43364ff97e4e (patch)
tree432d9ad430fb60d008d1315e0a0dccf5e67e6124 /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parenta9ebf6f422c1924b3c6486385babc38152c39500 (diff)
Use -fno-builtin for libc and libm.
clang was getting in the way of a strftime(3) optimization, and smaller hammers weren't working, and this seems like the right choice for libc anyway? If we have code that can usefully be optimized, we should do it in the source. In general, though, no libc/libm author should be ignorant of memset(3) or memcpy(3), and would have used it themselves if it made sense. (And the compiler isn't using profiling data or anything; it's just always assuming it should use the functions, and doesn't consider whether the cost of the calls can be amortized or not.) Test: treehugger Change-Id: Ia7e22623e47bfbfcfe46c1af0d95ef7e8669c0f6
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions