Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1364)

Unified Diff: src/atomicops.h

Issue 10965035: Add atomics implementation for ThreadSanitizer v2 (https://sites.google.com/a/chromium.org/dev/deve… (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/atomicops_internals_tsan.h » ('j') | src/atomicops_internals_tsan.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/atomicops.h
===================================================================
--- src/atomicops.h (revision 12787)
+++ src/atomicops.h (working copy)
@@ -151,7 +151,9 @@
} } // namespace v8::internal
// Include our platform specific implementation.
-#if defined(_MSC_VER) && \
+#if defined(THREAD_SANITIZER)
+#include "atomicops_internals_tsan.h"
+#elif defined(_MSC_VER) && \
(defined(V8_HOST_ARCH_IA32) || defined(V8_HOST_ARCH_X64))
#include "atomicops_internals_x86_msvc.h"
#elif defined(__APPLE__) && \
« no previous file with comments | « no previous file | src/atomicops_internals_tsan.h » ('j') | src/atomicops_internals_tsan.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698