This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Cleanup Android lit file
AbandonedPublic

Authored by vitalybuka on Nov 4 2020, 1:12 PM.

Details

Reviewers
oontvoo
Summary

Depends on D90790.

Diff Detail

Event Timeline

vitalybuka created this revision.Nov 4 2020, 1:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2020, 1:12 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka requested review of this revision.Nov 4 2020, 1:12 PM
oontvoo added inline comments.Nov 4 2020, 1:16 PM
compiler-rt/test/lit.common.cfg.py
369

We need both the codename and the api-level because we need the thread-properties-api which may or may not be in 31 (unknown at the moment), we only know it's in 'S'.

vitalybuka added inline comments.Nov 4 2020, 1:23 PM
compiler-rt/test/lit.common.cfg.py
369

If it's temporarily, can we just assume we don't run tests on 31 devices without that API?

391

I don't see anything broken.
I assume we didn't need that.

oontvoo added inline comments.Nov 4 2020, 1:30 PM
compiler-rt/test/lit.common.cfg.py
369

There're no "31 devices" right now - they're all still 29 (or 30 at the most). That's why this feature was named "-thread-properties-api" and not by api-level number.

Either we leave it like this, or pull the libc.so and look for the api symbols?

oontvoo added inline comments.Nov 4 2020, 1:44 PM
compiler-rt/test/lit.common.cfg.py
369

P.S:

391

I don't see anything broken.

Not yet. :-)

The dynamic-tls leak check is currently broken on glibc-2.27. The test is expected to fail. But when run on android, it will pass as "Unexpected Success". So this change was to make sure "glibc-2.27" is not set for android, allowing the test to be expected-pass.

vitalybuka abandoned this revision.Nov 4 2020, 2:04 PM

lgtm as-is