diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2018-02-26 17:14:44 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2018-02-26 17:14:44 +0000 |
commit | 0c8ecea88b6e2e4cf7386f68d0b928f94d816f30 (patch) | |
tree | eec883969c1b31f43c36f789c3825c6539847691 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 39ceac1ceb9997d303750e346cb91e92cdd41d47 (diff) | |
download | bcm5719-llvm-0c8ecea88b6e2e4cf7386f68d0b928f94d816f30.tar.gz bcm5719-llvm-0c8ecea88b6e2e4cf7386f68d0b928f94d816f30.zip |
[scudo] Make some tests less Linux-y
Summary:
Start making the Scudo tests less Linux-y:
- `malloc_usable_size` doesn't exist everywhere, so replace them with
`__sanitizer_get_allocated_size` which we provide;
- move all the `memalign` related tests into `memalign.c` since it's also not
available everywhere.
I also noticed that the `memalign.c` was missing a line in one of the loops.
Reviewers: alekseyshl
Reviewed By: alekseyshl
Subscribers: delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D43393
llvm-svn: 326100
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions