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

Unified Diff: Source/wtf/Assertions.cpp

Issue 227753002: don't use abi::__cxa_demangle in uclibc builds (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: bracket fixup 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Assertions.cpp
diff --git a/Source/wtf/Assertions.cpp b/Source/wtf/Assertions.cpp
index 79b969e248f2a02ab9233c53ca41a6b2d7aa0b30..853e108f39175836fcd2c8556df724038c67b8ec 100644
--- a/Source/wtf/Assertions.cpp
+++ b/Source/wtf/Assertions.cpp
@@ -267,7 +267,7 @@ void WTFPrintBacktrace(void** stack, int size)
for (int i = 0; i < size; ++i) {
const char* mangledName = 0;
char* cxaDemangled = 0;
-#if OS(MACOSX) || OS(LINUX)
+#if OS(MACOSX) || OS(LINUX) && !defined(__UCLIBC__)
jochen (gone - plz use gerrit) 2014/04/08 07:51:04 can you use brackets to make the condition clear?
Mostyn Bramley-Moore 2014/04/08 07:56:38 Done.
Dl_info info;
if (dladdr(stack[i], &info) && info.dli_sname)
mangledName = info.dli_sname;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698