summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/tests/malloc_hooks_tests.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-09-03 12:31:07 -0700
committerElliott Hughes <enh@google.com>2020-09-08 09:27:02 -0700
commit8e5fc5b0379fa659d5def8582a1991d6d47cdd13 (patch)
tree1b338acf9363948520c42f27c2766584a534d1dc /libc/malloc_hooks/tests/malloc_hooks_tests.cpp
parent7e0816a0a48d0dd96b4ffad5abd1506d478cbe67 (diff)
NGREG != ELF_NGREG.
Except they are the same on arm32/arm64, so we hadn't really noticed. x86 and x86-64 are quite different though, presumably by historical accident. Fix the definitions and add some static asserts. Bug: https://github.com/android/ndk/issues/1347 Test: treehugger Change-Id: Ic27b172066cf3443749463b9b73c912d204f9516
Diffstat (limited to 'libc/malloc_hooks/tests/malloc_hooks_tests.cpp')
0 files changed, 0 insertions, 0 deletions