[XRay][AArch64] An attempt to fix test patching-unpatching.cc by flushing the instruc...
authorSerge Rogatch <srogatch@accesssoftek.com>
Thu, 22 Dec 2016 18:48:36 +0000 (18:48 +0000)
committerSerge Rogatch <srogatch@accesssoftek.com>
Thu, 22 Dec 2016 18:48:36 +0000 (18:48 +0000)
commit93fb15788ae42bd3deab70d7eba47fd784991b6f
tree25c27e93262532b999d260874e2e64c0631f6698
parent48badd66aeed20d0a52412b87e5f6856493f4a3a
[XRay][AArch64] An attempt to fix test patching-unpatching.cc by flushing the instruction cache after code modification

Summary: This patch attempts to fix test patching-unpatching.cc . The new code flushes the instruction cache after modifying the program at runtime.

Reviewers: dberris, rengolin

Subscribers: llvm-commits, iid_iunknown, aemerson

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

llvm-svn: 290354
compiler-rt/lib/xray/xray_AArch64.cc
compiler-rt/test/xray/TestCases/Linux/patching-unpatching.cc