asan_device_setup is a utility that prepares a device to run code built with ASan. Essentially, it installs ASan runtime library into the system. For this reason, it has to be at a predictable relative path from the runtime library itself. We also plan to distribute this utility, packaged with runtime library and maybe llvm-symbolizer, to the users. llvm-svn: 202362
5 lines
107 B
CMake
5 lines
107 B
CMake
if(ANDROID)
|
|
add_compiler_rt_script(asan_device_setup)
|
|
add_dependencies(asan asan_device_setup)
|
|
endif()
|