[PATCH] D67928: Fix freebsd build
Keith Randall via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 12:49:19 PDT 2019
randall77 created this revision.
randall77 added a reviewer: dvyukov.
Herald added subscribers: Sanitizers, llvm-commits, krytarowski, emaste.
Herald added projects: LLVM, Sanitizers.
Get rid of unused declaration that was causing freebsd build to fail.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D67928
Files:
lib/tsan/go/gotsan.cpp
Index: lib/tsan/go/gotsan.cpp
===================================================================
--- lib/tsan/go/gotsan.cpp
+++ lib/tsan/go/gotsan.cpp
@@ -11649,7 +11649,6 @@
bool MmapFixedSuperNoReserve(uptr fixed_addr, uptr size, const char *name) {
#if SANITIZER_FREEBSD
- int flags = 0;
if (common_flags()->no_huge_pages_for_shadow)
return MmapFixedNoReserve(fixed_addr, size, name);
// MAP_NORESERVE is implicit with FreeBSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67928.221392.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190923/c886cf22/attachment.bin>
More information about the llvm-commits
mailing list