Some tests are broken at API level 30 on AOSP-master devices. When we
change the buildbuit to API level 30, the following tests get enabled.
They're currently broken due to various issues, and so fix up those
issues.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp | ||
---|---|---|
4–6 | Just curious, can the instrumentation be changed? (to not stash arguments?) |
compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp | ||
---|---|---|
4–6 | AFAICT, not really - the instrumentation is just a conditional branch with an IR call - it's the regalloc in the backend that would need to be tinkered with (which I'd rather not change the behaviour of the regalloc at -O0 to work around an lsan-in-asan false negative). |
LGTM
compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp | ||
---|---|---|
4–6 | Got it! Thanks for the details! |
compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp | ||
---|---|---|
12 | very nit: If this is an architecture-specific thing, then maybe Android (the OS) shouldn't have to be called out? perhaps s/Android/aarch64 ? |
compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp | ||
---|---|---|
12 | this line can actually be deleted, it's the same as above. |
Just curious, can the instrumentation be changed? (to not stash arguments?)