[ASan] Fix Darwin and Windows builds.

llvm-svn: 239027
This commit is contained in:
Yury Gribov 2015-06-04 07:56:19 +00:00
parent 2f1a0dabd0
commit e244b49f2c
2 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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 == '/';
}