This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] [sanitizer] Clean buildbot failures for aarch64
ClosedPublic

Authored by zatrazz on Sep 17 2015, 9:08 AM.

Details

Summary

Currently aarch64 lacks instrumentation support for variadic arguments
for MSan. This patch sets the UBSan tests that uses it as to require
stable-runtime and sets aarch64/ubsan as an unstable one.

Diff Detail

Event Timeline

zatrazz updated this revision to Diff 35006.Sep 17 2015, 9:08 AM
zatrazz retitled this revision from to [compiler-rt] [sanitizer] Clean buildbot failures for aarch64.
zatrazz updated this object.
zatrazz added reviewers: rengolin, kcc, eugenis.
zatrazz added a subscriber: llvm-commits.
rengolin accepted this revision.Sep 17 2015, 10:31 AM
rengolin edited edge metadata.

I assume this takes care of all three XPASS at the moment on some machines but not others.

LGTM. Thanks!

This revision is now accepted and ready to land.Sep 17 2015, 10:31 AM
samsonov accepted this revision.Sep 17 2015, 12:07 PM
samsonov added a reviewer: samsonov.
samsonov added a subscriber: samsonov.

LGTM

zatrazz updated this revision to Diff 35025.Sep 17 2015, 12:15 PM
zatrazz edited edge metadata.

This should take care of remaining msan issues on aarch64 buildbots.

zatrazz added a comment.EditedSep 17 2015, 12:20 PM

The vptr-virtual-base tests are also set to require stable-runtime
because aarch64 kernel might sets different permission for the heap
segments and thus invaliding the checks for the false-positive.

Thanks for investigating it further! We need to know why they're failing, so would be good if you could add a one line comment before the REQUIRES line explaining about the kernel options for vptr.

Please, commit as soon as possible, as the bots are red for almost a week now.

The revision r247484 'ubsan: Implement memory permission validation for vtables.' has been reverted by r247921. I will rebase my patch to initial state and push it.

zatrazz closed this revision.Sep 21 2015, 12:48 PM