diff options
| author | Yury Gribov <y.gribov@samsung.com> | 2015-06-04 07:56:19 +0000 |
|---|---|---|
| committer | Yury Gribov <y.gribov@samsung.com> | 2015-06-04 07:56:19 +0000 |
| commit | e244b49f2cf1f73af80207e28ff8cc65524933e6 (patch) | |
| tree | 39a876346580fb3312f666e35f535fc0718024c8 | |
| parent | 2f1a0dabd046ccc9cbf448e8205f7b2a6e7ebed4 (diff) | |
| download | bcm5719-llvm-e244b49f2cf1f73af80207e28ff8cc65524933e6.tar.gz bcm5719-llvm-e244b49f2cf1f73af80207e28ff8cc65524933e6.zip | |
[ASan] Fix Darwin and Windows builds.
llvm-svn: 239027
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_mac.cc | 7 | ||||
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_win.cc | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc b/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc index 9b121c262ca..46151056101 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc @@ -369,13 +369,6 @@ void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) { # endif // SANITIZER_WORDSIZE } -uptr ReadBinaryName(/*out*/char *buf, uptr buf_len) { - // FIXME: Actually implement this function. - CHECK_GT(buf_len, 0); - buf[0] = 0; - return 0; -} - } // namespace __sanitizer #endif // SANITIZER_MAC diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc index 61a0ede781e..94393c4ef9d 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_win.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_win.cc @@ -295,11 +295,6 @@ char *FindPathToBinary(const char *name) { return 0; } -uptr ReadBinaryName(/*out*/char *buf, uptr buf_len) { - // Nothing here for now. - return 0; -} - bool IsPathSeparator(const char c) { return c == '\\' || c == '/'; } |

