summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/XRay/xray-shared-noxray.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert part of r. 325746 D43378Kamil Rytarowski2018-02-221-1/+1
| | | | | | test/Driver/XRay/xray-shared-noxray.cpp fails on !Linux hosts. llvm-svn: 325748
* FreeBSD driver / Xray flags moving pthread to compile flags.Kamil Rytarowski2018-02-221-1/+1
| | | | | | | | | | | | | | | | | | Summary: - Using -lpthread instead, with -pthread the linkage does not work. -Warning about the -fxray-instrument usage outside of the working cases. Patch by: David CARLIER Reviewers: krytarowski, vitalybuka, dberris, emaste Reviewed By: krytarowski, emaste Subscribers: srhines, emaste, cfe-commits Differential Revision: https://reviews.llvm.org/D43378 llvm-svn: 325746
* [XRay] Avoid actual linking when testing the driverDean Michael Berris2017-09-261-5/+5
| | | | | | | | Use -### in the command to see just look for the output of -v. Follow-up to D38226. llvm-svn: 314194
* [XRay] Run command once without piping to FileCheckDean Michael Berris2017-09-261-0/+2
| | | | | | | | This allows us to debug the failures that come up from the build bots. Follow-up to D38226. llvm-svn: 314193
* [XRay] Only run shared tests when 'enable_shared' is trueDean Michael Berris2017-09-261-1/+1
| | | | | | Follow-up to D38226. llvm-svn: 314191
* [XRay] Remove -fPIC from shared build test.Dean Michael Berris2017-09-261-1/+1
| | | | | | Follow-up to D38226. llvm-svn: 314190
* [XRay] Stop running tests for 'amd64', and remove -fPIE from tests.Dean Michael Berris2017-09-261-2/+0
| | | | | | Follow-up to D38226. llvm-svn: 314189
* [XRay][Driver] Do not link in XRay runtime in shared libsDean Michael Berris2017-09-261-0/+16
| | | | | | | | | | | | | | | | | | | | Summary: This change ensures that we don't link in the XRay runtime when building shared libraries with clang. This doesn't prevent us from building shared libraris tht have XRay instrumentation sleds, but it does prevent us from linking in the static XRay runtime into a shared library. The XRay runtime currently doesn't support dynamic registration of instrumentation sleds in shared objects, which we'll start enabling in the future. That work has to happen in the back-end and in the runtime. Reviewers: rnk, pelikan Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D38226 llvm-svn: 314188
* Revert "[XRay][Driver] Do not link in XRay runtime in shared libs"Dean Michael Berris2017-09-261-14/+0
| | | | | | Reverts r314177. llvm-svn: 314178
* [XRay][Driver] Do not link in XRay runtime in shared libsDean Michael Berris2017-09-251-0/+14
Summary: This change ensures that we don't link in the XRay runtime when building shared libraries with clang. This doesn't prevent us from building shared libraris tht have XRay instrumentation sleds, but it does prevent us from linking in the static XRay runtime into a shared library. The XRay runtime currently doesn't support dynamic registration of instrumentation sleds in shared objects, which we'll start enabling in the future. That work has to happen in the back-end and in the runtime. Reviewers: rnk, pelikan Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D38226 llvm-svn: 314177
OpenPOWER on IntegriCloud