summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/xray/TestCases/Linux/argv0-log-file-name.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-16/+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][compiler-rt] Switch default XRay 'patch_premain' to falseDean Michael Berris2017-02-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | Summary: Currently, we assume that applications built with XRay would like to have the instrumentation sleds patched before main starts. This patch changes the default so that we do not patch the instrumentation sleds before main. This default is more helpful for deploying applications in environments where changing the current default is harder (i.e. on remote machines, or work-pool-like systems). This default (not to patch pre-main) makes it easier to selectively run applications with XRay instrumentation enabled, than with the current state. Reviewers: echristo, timshen Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D30396 llvm-svn: 296445
* [XRay] [compiler-rt] Include argv[0] in the log file name.Dean Michael Berris2017-01-031-0/+14
Summary: If you decide to recompile parts of your Linux distro with XRay, it may be useful to know which trace belongs to which binary. While there, get rid of the incorrect strncat() usage; it always returns a pointer to the start which makes that if() always true. Replace with snprintf which is bounded so that enough from both strings fits nicely. Reviewers: dberris Subscribers: danalbert, srhines, kubabrecka, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D27912 llvm-svn: 290861
OpenPOWER on IntegriCloud