[Lldb-commits] [lldb] r248256 - Check for GLIBC before including execinfo.h

Vasileios Kalintiris via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 22 02:53:31 PDT 2015


Author: vkalintiris
Date: Tue Sep 22 04:53:30 2015
New Revision: 248256

URL: http://llvm.org/viewvc/llvm-project?rev=248256&view=rev
Log:
Check for GLIBC before including execinfo.h

Reviewers: ovyalov, clayborg

Subscribers: tberghammer, danalbert, llvm-commits, srhines

Differential Revision: http://reviews.llvm.org/D13016

Modified:
    lldb/trunk/source/Host/linux/Host.cpp

Modified: lldb/trunk/source/Host/linux/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/linux/Host.cpp?rev=248256&r1=248255&r2=248256&view=diff
==============================================================================
--- lldb/trunk/source/Host/linux/Host.cpp (original)
+++ lldb/trunk/source/Host/linux/Host.cpp Tue Sep 22 04:53:30 2015
@@ -14,7 +14,7 @@
 #include <sys/stat.h>
 #include <dirent.h>
 #include <fcntl.h>
-#ifndef __ANDROID__
+#if defined(__GLIBC__)
 #include <execinfo.h>
 #endif
 




More information about the lldb-commits mailing list