Enable check-cfi and check-ubsan on Android.
Check-ubsan includes standalone and ubsan+asan, but not tsan or msan.
Cross-dso cfi tests are disabled for now.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
CFI parts seem reasonable.
compiler-rt/test/cfi/stats.cpp | ||
---|---|---|
7 ↗ | (On Diff #117937) | Do you know why it fails? |
compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp | ||
6 ↗ | (On Diff #117937) | Presumably this fails when targeting ARM? Should we instead adjust this to check target instead of host? |
compiler-rt/test/cfi/stats.cpp | ||
---|---|---|
7 ↗ | (On Diff #117937) | Because sanstats input is not transferred back to host :) It's a general issue in lit tests, I'd assume more than half cases of "UNSUPPORTED: android" are caused by this or a related problem. |
compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp | ||
6 ↗ | (On Diff #117937) | Oh right, it's not about Android. Function sanitizer is not supported on ARM. |
compiler-rt/test/cfi/stats.cpp | ||
---|---|---|
7 ↗ | (On Diff #117937) | Okay, please mention that in a comment then. |
compiler-rt/test/ubsan/lit.common.cfg | ||
---|---|---|
50 ↗ | (On Diff #117941) | Yes, but I'd like to do it in a separate change. |