[ASAN] strdup interceptor breaks unwinding on ARMv7
| Bugzilla Link | 27477 |
| Version | unspecified |
| OS | Linux |
| CC | @zatrazz,@compnerd,@eugenis,@kbeyls,@vitalybuka |
Extended Description
Commit r266931 introduced a strdup interceptor, and the test only seem to work on arm-android, not on linux-gnueabihf as per mail thread:
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160418/349234.html
An UNSUPPORTED flag was added to the test, but we suspect something is wrong with ARM unwinding.
This is another issue related to arm unwind returning wrong/incomplete results. As for r267028 I think it should mark it as unsupported for now on arm.
The buildbot is configured to build stage 1 only of ARM VFP-only version of Clang.
Script with all RUN lines executed and output saved Attaching a script that reproduces exactly the RUN lines and save the results in *.out files. The broken build was:
http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15-full/builds/11612/
r266931 added an __strdup interceptor; we've had strdup before. The commit also added an extra CHECK to the test, and that's the one that is failing. It is unclear which RUN command fails, so the problem could have always been there, and could have been exposed by the new CHECK.