This is an archive of the discontinued LLVM Phabricator instance.

[cfi] Test cross-dso CFI on Android.
ClosedPublic

Authored by eugenis on Oct 13 2017, 4:49 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis created this revision.Oct 13 2017, 4:49 PM
eugenis added inline comments.Oct 13 2017, 4:52 PM
compiler-rt/test/lit.common.cfg
214 ↗(On Diff #118991)

This could be a bit excessive...
It would add ~13 new features, and we currently only use one (android-26). AFAIK, lit does not allow numeric comparisons in UNSUPPORTED and REQUIRES headers.

pcc added inline comments.Oct 13 2017, 4:59 PM
compiler-rt/test/lit.common.cfg
214 ↗(On Diff #118991)

I'd prefer to make this define only android-26 if the version is >=26, as that should make life easier for someone who is trying to figure out where android-26 is coming from. If we need more versions, we could perhaps figure something else out.

eugenis updated this revision to Diff 118993.Oct 13 2017, 5:10 PM

remove extra features

eugenis marked an inline comment as done.Oct 13 2017, 5:10 PM
pcc added inline comments.Oct 13 2017, 5:14 PM
compiler-rt/test/cfi/lit.cfg
43 ↗(On Diff #118991)

Is this substitution being used?

compiler-rt/test/lit.common.cfg
215 ↗(On Diff #118993)

Remove semicolon

eugenis updated this revision to Diff 118996.Oct 13 2017, 5:18 PM

removed a semicolon

eugenis updated this revision to Diff 118997.Oct 13 2017, 5:22 PM

removed an unused substitution

eugenis marked 2 inline comments as done.Oct 13 2017, 5:23 PM
pcc accepted this revision.Oct 13 2017, 5:25 PM

LGTM

This revision is now accepted and ready to land.Oct 13 2017, 5:25 PM
vitalybuka accepted this revision.Oct 15 2017, 9:21 AM
This revision was automatically updated to reflect the committed changes.