[LLVMdev] Building sanitizers for Android

Yury Gribov y.gribov at samsung.com
Tue Apr 22 22:08:38 PDT 2014


>> It's not that easy. Some tests require passing environment variables
>
> As Evgeniy mentioned, it's a short enough list of variables that you
> can whitelist them.  LD_PRELOAD, LD_LIBRARY_PATH, ASAN_OPTIONS, etc.

Still sounds somewhat hacky. E.g. what if you've sanitized Clang itself 
and then run it with custom ASAN_OPTIONS?
Surely you won't want to propagate them to ssh unless the test 
explicitly asks for them.

-Y



More information about the llvm-dev mailing list