[PATCH] Add a copy of missing <ucontext.h> for Android and enable ASan SEGV handler.

Alexey Samsonov samsonov at google.com
Mon Feb 10 03:41:02 PST 2014


  Wow.

  Just a quick check - why not put this under compiler-rt/SDKs/android?


================
Comment at: lib/asan/CMakeLists.txt:28
@@ +27,3 @@
+if(ANDROID)
+  include_directories(../../third_party/android/include)
+endif()
----------------
I'd define the path to additional Android includes in a variable in compiler-rt/CMakeLists.txt and then just use this variable here.


http://llvm-reviews.chandlerc.com/D2729



More information about the llvm-commits mailing list