-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use ASan on Android/ARM64 #12014
Comments
We are running into exactly this general issue: google/sanitizers#1469 Verified - we are hitting
|
Ouch :| |
I'd guess that the downsides of shipping a new version of Android without ASan support outweighs the benefits, but what do I know. |
@bjacob Marking as P2, but please adjust priority and status if needed. |
We can close this for now. Android/arm64 is in the midst of a transition from ASan to HWAsan. HWASan currently requires a Pixel device with a special OS image flashed on it, so that's quite a high barrier to entry. Android team is working on reducing this friction. If someone wants to act here, 2 courses of action that could deserve their own new Issue (describing for future reference):
|
At the moment, with
IREE_ENABLE_ASAN=ON
, many tests are failing withIllegal instruction
, on Android/ARM64.Unlike TSan where we are specifically building modules with TSAN instrumentation, with ASAN we have been working under the assumption that it was fine to run non-ASAN-instrumented module code with TSAN-instrumented IREE runtime. Maybe that's not the case anymore ? EDIT: Nope, I tried, it's not the same issue as TSan, and the equivalent fix here (compiling modules with
--iree-llvm-sanitize=address --iree-llvm-link-embedded=false
) does not make a difference.The text was updated successfully, but these errors were encountered: