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

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: add more brackets for clarity 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..67c0675af4e072324b121b0f296390474df8da4c 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__))
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