forked from OSchip/llvm-project
asan_device_setup's wrapper scripts not handling args with spaces correctly
Summary: Came up in Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1103108#c21 Reviewers: eugenis Reviewed By: eugenis Subscribers: #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D84237
This commit is contained in:
parent
b198de67e0
commit
a305d25029
|
@ -330,7 +330,7 @@ function generate_zygote_wrapper { # from, to
|
||||||
ASAN_OPTIONS=$ASAN_OPTIONS \\
|
ASAN_OPTIONS=$ASAN_OPTIONS \\
|
||||||
ASAN_ACTIVATION_OPTIONS=include_if_exists=/data/local/tmp/asan.options.%b \\
|
ASAN_ACTIVATION_OPTIONS=include_if_exists=/data/local/tmp/asan.options.%b \\
|
||||||
LD_PRELOAD=$_ld_preload \\
|
LD_PRELOAD=$_ld_preload \\
|
||||||
exec $_to \$@
|
exec $_to "\$@"
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue