[compiler-rt] r224910 - [sanitizer-common] Fixing the ASan test build failure on OS X
Alexander Potapenko
glider at google.com
Mon Dec 29 00:58:59 PST 2014
Thank you, Kuba!
On Mon, Dec 29, 2014 at 5:18 AM, Kuba Brecka <kuba.brecka at gmail.com> wrote:
> Author: kuba.brecka
> Date: Sun Dec 28 20:18:59 2014
> New Revision: 224910
>
> URL: http://llvm.org/viewvc/llvm-project?rev=224910&view=rev
> Log:
> [sanitizer-common] Fixing the ASan test build failure on OS X
>
> The change in r224819 started using internal_unlink in a sanitizer_common unit test. For some reason, internal_unlink is not defined in sanitizer_mac.cc, fixing that.
>
>
> Modified:
> compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc
>
> Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc?rev=224910&r1=224909&r2=224910&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc (original)
> +++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_mac.cc Sun Dec 28 20:18:59 2014
> @@ -109,6 +109,10 @@ uptr internal_readlink(const char *path,
> return readlink(path, buf, bufsize);
> }
>
> +uptr internal_unlink(const char *path) {
> + return unlink(path);
> +}
> +
> uptr internal_sched_yield() {
> return sched_yield();
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
--
Alexander Potapenko
Software Engineer
Google Moscow
More information about the llvm-commits
mailing list