[PATCH] D21656: [compiler-rt] Include <dlfcn.h> unconditionally

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 09:50:28 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL291454: [compiler-rt] Include <dlfcn.h> unconditionally (authored by kuba.brecka).

Changed prior to commit:
  https://reviews.llvm.org/D21656?vs=61705&id=83642#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D21656

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux_libcdep.cc
@@ -26,10 +26,7 @@
 #include "sanitizer_procmaps.h"
 #include "sanitizer_stacktrace.h"
 
-#if SANITIZER_ANDROID || SANITIZER_FREEBSD
 #include <dlfcn.h>  // for dlsym()
-#endif
-
 #include <link.h>
 #include <pthread.h>
 #include <signal.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21656.83642.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170109/65c58201/attachment.bin>


More information about the llvm-commits mailing list