diff options
| author | Kostya Kortchinsky <kostyak@google.com> | 2017-10-11 21:20:04 +0000 |
|---|---|---|
| committer | Kostya Kortchinsky <kostyak@google.com> | 2017-10-11 21:20:04 +0000 |
| commit | 6a45f9ce82b5eb969fd30ec48ded1e8a6e6a183a (patch) | |
| tree | c8890830266033a9c49e4bb7b9cb70a4f617f871 /llvm/lib/MC | |
| parent | c928e1f5958a3bd748337cfd95d334202a0a9557 (diff) | |
| download | bcm5719-llvm-6a45f9ce82b5eb969fd30ec48ded1e8a6e6a183a.tar.gz bcm5719-llvm-6a45f9ce82b5eb969fd30ec48ded1e8a6e6a183a.zip | |
[sanitizer] Move the errno/ENOMEM allocator checks logic to separate .cc
Summary:
This is a new attempt at D38706, which had 2 issues.
The first one was that it broke TSan, because `sanitizer_errno.h` was not
directly included in `tsan_mman.cc`. This fixes the include.
The second one was that it broke the nolibc build, because `__errno_location`
couldn't be found. This adds the new .cc to the libcdep list instead of the
base one.
Reviewers: alekseyshl
Reviewed By: alekseyshl
Subscribers: kubamracek, mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D38743
llvm-svn: 315509
Diffstat (limited to 'llvm/lib/MC')
0 files changed, 0 insertions, 0 deletions

