Skip to content

Commit 044129e

Browse files
committed
Patch to make all Android arches to sanitizable.
Bug: 176826746 Test: Built toolchain with build.py Test: Build test AOSP module, no longer reports sanitizer unsupported for these archs. Change-Id: I4d309382fa1def4c8ae2f85631110dac35e92734
1 parent 4a80c2b commit 044129e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
From 6c0f2121eab67183d11751d1be7cec027f03eec4 Mon Sep 17 00:00:00 2001
2+
From: Ivan Lozano <[email protected]>
3+
Date: Wed, 6 Jan 2021 12:02:51 -0500
4+
Subject: [PATCH] Add remaining set of android archs to the list of sanitizer
5+
supported targets.
6+
7+
Change-Id: I9754b7a8263313727ef5684431d54c3376225264
8+
---
9+
compiler/rustc_session/src/session.rs | 5 +++++
10+
1 file changed, 5 insertions(+)
11+
12+
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs
13+
index 2bf8090ab9..fed4dc5591 100644
14+
--- a/compiler/rustc_session/src/session.rs
15+
+++ b/compiler/rustc_session/src/session.rs
16+
@@ -1497,8 +1497,13 @@ fn validate_commandline_args_with_session_available(sess: &Session) {
17+
"aarch64-fuchsia",
18+
"aarch64-linux-android",
19+
"aarch64-unknown-linux-gnu",
20+
+ "arm-linux-androideabi",
21+
+ "armv7-linux-androideabi",
22+
+ "i686-linux-android",
23+
+ "i686-unknown-linux-gnu",
24+
"x86_64-apple-darwin",
25+
"x86_64-fuchsia",
26+
+ "x86_64-linux-android",
27+
"x86_64-unknown-freebsd",
28+
"x86_64-unknown-linux-gnu",
29+
];
30+
--
31+
2.29.2.729.g45daf8777d-goog
32+

0 commit comments

Comments
 (0)