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

Unified Diff: base/debug/leak_tracker.h

Issue 234803002: disable more stacktrace usage in debug uclibc builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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 | base/logging.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/leak_tracker.h
diff --git a/base/debug/leak_tracker.h b/base/debug/leak_tracker.h
index e5f0cb1778bced31b0bd27fe4b0100438ba5d942..bb1cbc637c39efe94bd9b9cf51e52f855afe97d5 100644
--- a/base/debug/leak_tracker.h
+++ b/base/debug/leak_tracker.h
@@ -5,8 +5,8 @@
#ifndef BASE_DEBUG_LEAK_TRACKER_H_
#define BASE_DEBUG_LEAK_TRACKER_H_
-// Only enable leak tracking in debug builds.
-#ifndef NDEBUG
+// Only enable leak tracking in non-uClibc debug builds.
+#if !defined(NDEBUG) && !defined(__UCLIBC__)
Mark Mentovai 2014/04/16 13:11:25 Nothing says __UCLIBC__ will be defined here in a
Mostyn Bramley-Moore 2014/04/16 23:20:14 Ahh, right. In my local branch I have some addi
Mark Mentovai 2014/04/17 22:24:41 Mostyn Bramley-Moore wrote:
Mostyn Bramley-Moore 2014/04/17 22:35:33 I though about this a bit, but wasn't sure which s
#define ENABLE_LEAK_TRACKER
#endif
« no previous file with comments | « no previous file | base/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698