summaryrefslogtreecommitdiff
path: root/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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325748 91177308-0d34-0410-b5e6-96231b3b80d8
* 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325746 91177308-0d34-0410-b5e6-96231b3b80d8
* [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314194 91177308-0d34-0410-b5e6-96231b3b80d8
* [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314193 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Only run shared tests when 'enable_shared' is trueDean Michael Berris2017-09-261-1/+1
| | | | | | Follow-up to D38226. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314191 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Remove -fPIC from shared build test.Dean Michael Berris2017-09-261-1/+1
| | | | | | Follow-up to D38226. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314190 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Stop running tests for 'amd64', and remove -fPIE from tests.Dean Michael Berris2017-09-261-2/+0
| | | | | | Follow-up to D38226. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314189 91177308-0d34-0410-b5e6-96231b3b80d8
* [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314188 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "[XRay][Driver] Do not link in XRay runtime in shared libs"Dean Michael Berris2017-09-261-14/+0
| | | | | | Reverts r314177. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314178 91177308-0d34-0410-b5e6-96231b3b80d8
* [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314177 91177308-0d34-0410-b5e6-96231b3b80d8