[PATCH] [ASan] Only include rpc headers if they are available.

Kostya Serebryany kcc at google.com
Mon Mar 30 11:14:28 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: CMakeLists.txt:183
@@ -182,1 +182,3 @@
 check_include_file(unwind.h HAVE_UNWIND_H)
+check_include_file(rpc/xdr.h HAVE_RPC_XDR_H)
+check_include_file(tirpc/rpc/xdr.h HAVE_TIRPC_XDR_H)
----------------
Can you do it w/o cmake checks? 
asan rt is built by many build systems, some of which you don't have access to, 
and some of which I don't have access to. 
All such checks should be done in the sources code.

http://reviews.llvm.org/D8698

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list