[XRay][AArch64] Attempt to fix unstable test XRay-aarch64-linux::patching-unpatching.cc
authorSerge Rogatch <srogatch@accesssoftek.com>
Mon, 5 Dec 2016 23:29:56 +0000 (23:29 +0000)
committerSerge Rogatch <srogatch@accesssoftek.com>
Mon, 5 Dec 2016 23:29:56 +0000 (23:29 +0000)
commit882fc5d0a3c68cbe82042b97371a409c6a288b4d
tree42222b630ebb9c3003ff4a20b1f0e6eae9d4d1b4
parentdaf21c3f69f14507d12f2350592171151d480758
[XRay][AArch64] Attempt to fix unstable test XRay-aarch64-linux::patching-unpatching.cc

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.

Reviewers: dberris, rengolin

Subscribers: llvm-commits, iid_iunknown, aemerson, rengolin, dberris

Differential Revision: https://reviews.llvm.org/D27421

llvm-svn: 288729
compiler-rt/lib/xray/xray_interface.cc