summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/xray/TestCases/Linux/patching-unpatching.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove empty filesKamil Rytarowski2018-02-221-0/+0
| | | | | | Left over after D43382 llvm-svn: 325744
* Xray instrumentation / enabling more testsKamil Rytarowski2018-02-221-49/+0
| | | | | | | | | | | | | | | | | Summary: The Unix subdirectory mostly allows only on Linux x86_64 but now we can target x86_64 arch in general. Patch by David CARLIER Reviewers: krytarowski, dberris, emaste Reviewed By: krytarowski, dberris, emaste Subscribers: emaste, llvm-commits, #sanitizers Differential Revision: https://reviews.llvm.org/D43382 llvm-svn: 325743
* [compiler-rt][xray][mips] Mark some tests as unsupported.Simon Dardis2017-09-061-0/+2
| | | | | | | | | Thesee tests require the integrated assembler which is still in development / testing for MIPS64. GAS doesn't understand the section directives produced by XRay, so marking the relevant tests as unsupported. llvm-svn: 312628
* [XRay][AArch64] An attempt to fix test patching-unpatching.cc by flushing ↵Serge Rogatch2017-01-101-1/+0
| | | | | | | | | | | | | | 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, pelikan, rovka Subscribers: rovka, llvm-commits, iid_iunknown, aemerson Differential Revision: https://reviews.llvm.org/D27996 llvm-svn: 291568
* Revert "[XRay][AArch64] An attempt to fix test patching-unpatching.cc by ↵Renato Golin2016-12-231-0/+1
| | | | | | | | | flushing the instruction cache after code modification" This reverts commit r290452, not quite there yet. We need to test this offline. llvm-svn: 290453
* [XRay][AArch64] An attempt to fix test patching-unpatching.cc by flushing ↵Serge Rogatch2016-12-231-1/+0
| | | | | | | | | | | | | | 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: 290452
* Revert "[XRay][AArch64] An attempt to fix test patching-unpatching.cc by ↵Renato Golin2016-12-221-0/+1
| | | | | | | | | flushing the instruction cache after code modification" This reverts commit r290354, as it broke the build. We need to make sure this builds on AArch64 before committing again. llvm-svn: 290362
* [XRay][AArch64] An attempt to fix test patching-unpatching.cc by flushing ↵Serge Rogatch2016-12-221-1/+0
| | | | | | | | | | | | | | 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
* [XRay][AArch64] Disable the unstable test ↵Serge Rogatch2016-12-071-0/+1
| | | | | | | | | | | | | | | | XRay-aarch64-linux::patching-unpatching.cc Summary: The test `XRay-aarch64-linux::patching-unpatching.cc` sometimes passes, sometimes fails on buildbots. This patch disables test `patching-unpatching.cc` for AArch64 targets. Reviewers: rengolin, dberris Subscribers: llvm-commits, iid_iunknown, aemerson Differential Revision: https://reviews.llvm.org/D27528 llvm-svn: 288988
* [compiler-rt][XRay] Implement __xray_unpatch() and __xray_remove_handler()Dean Michael Berris2016-08-081-0/+47
Summary: We also add one test (and the XRay testing infrastructure) to exercise the patching and unpatching code. This uses the XRay API exported through the headers as well, installing a custom log handler. Depends on D23101 for the updated emitted code alignment for the return/entry sleds. Reviewers: rSerge, echristo, rnk Subscribers: tberghammer, danalbert, srhines, mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D23154 llvm-svn: 277971
OpenPOWER on IntegriCloud