This is an archive of the discontinued LLVM Phabricator instance.

[XRay][AArch64] Attempt to fix unstable test XRay-aarch64-linux::patching-unpatching.cc
ClosedPublic

Authored by rSerge on Dec 5 2016, 10:51 AM.

Details

Summary

Currently test XRay-aarch64-linux::patching-unpatching.cc sometimes passes, sometimes fails. This is an attempt to fix it by handling better the situations when both __arm__ and __aarch64__ are defined.

Diff Detail

Event Timeline

rSerge updated this revision to Diff 80294.Dec 5 2016, 10:51 AM
rSerge retitled this revision from to [XRay][AArch64] Attempt to fix unstable test XRay-aarch64-linux::patching-unpatching.cc.
rSerge updated this object.
rengolin accepted this revision.Dec 5 2016, 10:54 AM
rengolin edited edge metadata.

NFC. If this "fixes" the problem, then we have to understand why we're getting the arm macro set.

Regardless, this is "safer" anyway. LGTM. Thanks!

This revision is now accepted and ready to land.Dec 5 2016, 10:54 AM
rSerge closed this revision.Dec 5 2016, 3:40 PM
dberris edited edge metadata.Dec 5 2016, 3:42 PM

Has this been committed?

rSerge added a comment.EditedDec 5 2016, 3:44 PM

Has this been committed?

Yes, sorry I haven't waited for your review and just committed after Renato accepted, because I was hurrying to try to fix the test.
Do you have any objections?

Committed in https://reviews.llvm.org/rL288729

No objections, just wondering what the revision number was -- using 'arc land' would update the differential review thread appropriately. :)

rSerge added a comment.EditedDec 5 2016, 3:51 PM

I just followed the steps from http://llvm.org/docs/Phabricator.html#subversion-and-arcanist .
Thanks for the suggestion. However, it seems I have to do it manually, because arc land for me says "is only supported under git, hg." . I'm using SVN.

Ah, okay. What I typically do is make sure the description has a Differential Revision: https://... in the commit description, so that Phabricator can update these review threads properly.

rSerge added a comment.Dec 5 2016, 3:59 PM

Ah, okay. What I typically do is make sure the description has a Differential Revision: https://... in the commit description, so that Phabricator can update these review threads properly.

I can see it in the SVN log for my commit. In the bottom there is a line:
Differential Revision: https://reviews.llvm.org/D27421

rSerge added a comment.EditedDec 5 2016, 4:03 PM

By the way, if I scroll the current page up, I can see field "Commits", and there rL288729 is listed. So it just didn't do it the way it does for your commits, with stating "Closed by commit" and then the commit number.

By the way, if I scroll the current page up, I can see field "Commits", and there rL288729 is listed. So it just didn't do it the way it does for your commits, with stating "Closed by commit" and then the commit number.

Cool -- right, I was looking for that "Closed by commit" message, because it just looked like you closed the revision, without an indication that it indeed was committed.

It might be something silly like, if that message 'Differential Revision: https://...' didn't have a newline character in the end then Phabricator didn't quite parse it properly.

Anyway, something to try for another patch. :)