We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d48673 commit c979d1fCopy full SHA for c979d1f
compiler-rt/test/sanitizer_common/android_commands/android_run.py
@@ -12,10 +12,13 @@ def build_env():
12
args = []
13
# Android linker ignores RPATH. Set LD_LIBRARY_PATH to Output dir.
14
args.append("LD_LIBRARY_PATH=%s" % (ANDROID_TMPDIR,))
15
- for (key, value) in list(os.environ.items()):
16
- if key in ["ASAN_ACTIVATION_OPTIONS", "SCUDO_OPTIONS"] or key.endswith(
17
- "SAN_OPTIONS"
18
- ):
+ for key, value in list(os.environ.items()):
+ if key in [
+ "ASAN_ACTIVATION_OPTIONS",
+ "SCUDO_OPTIONS",
19
+ "HOME",
20
+ "TMPDIR",
21
+ ] or key.endswith("SAN_OPTIONS"):
22
args.append('%s="%s"' % (key, value.replace('"', '\\"')))
23
return " ".join(args)
24
0 commit comments