[compiler-rt] r252907 - tsan: fix windows Go build
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 12 08:29:25 PST 2015
- Previous message: [PATCH] D14618: [tsan] Add global symbolication support into AtosSymbolizer
- Next message: [llvm] r252908 - [x86] translating "fp" (floating point) instructions from {fadd, fdiv, fmul, fsub, fsubr, fdivr} to {faddp, fdivp, fmulp, fsubp, fsubrp, fdivrp}
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dvyukov
Date: Thu Nov 12 10:29:24 2015
New Revision: 252907
URL: http://llvm.org/viewvc/llvm-project?rev=252907&view=rev
Log:
tsan: fix windows Go build
CompareModulesBase is an unused function.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc?rev=252907&r1=252906&r2=252907&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_win.cc Thu Nov 12 10:29:24 2015
@@ -220,12 +220,14 @@ struct ModuleInfo {
uptr end_address;
};
+#ifndef SANITIZER_GO
int CompareModulesBase(const void *pl, const void *pr) {
const ModuleInfo *l = (ModuleInfo *)pl, *r = (ModuleInfo *)pr;
if (l->base_address < r->base_address)
return -1;
return l->base_address > r->base_address;
}
+#endif
} // namespace
#ifndef SANITIZER_GO
- Previous message: [PATCH] D14618: [tsan] Add global symbolication support into AtosSymbolizer
- Next message: [llvm] r252908 - [x86] translating "fp" (floating point) instructions from {fadd, fdiv, fmul, fsub, fsubr, fdivr} to {faddp, fdivp, fmulp, fsubp, fsubrp, fdivrp}
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the llvm-commits
mailing list