[asan] Support per-application flags in the Android setup script.
llvm-svn: 243494
This commit is contained in:
parent
2670f4a550
commit
8e36aa6e02
|
|
@ -273,6 +273,7 @@ fi
|
|||
cat <<EOF >"$TMPDIR/app_process.wrap"
|
||||
#!/system/bin/sh-from-zygote
|
||||
ASAN_OPTIONS=$ASAN_OPTIONS \\
|
||||
ASAN_ACTIVATION_OPTIONS=include_if_exists=/data/local/tmp/asan.options.%b \\
|
||||
LD_PRELOAD=\$LD_PRELOAD:$ASAN_RT \\
|
||||
exec /system/bin/app_process32 \$@
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue