summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/profile/Linux/instrprof-cs.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the following tests when running under cross-compilation:Chad Rosier2016-09-231-2/+2
| | | | | | | | | | | | | Profile-aarch64 :: Linux/comdat_rename.test Profile-aarch64 :: Linux/extern_template.test Profile-aarch64 :: Linux/instrprof-comdat.test Profile-aarch64 :: Linux/instrprof-cs.c The issue is that the created (aarch64) binaries were attempting to run natively instead of running through %run, which guarantees running in the proper environment if the compilation was configured correctly. llvm-svn: 282264
* Fix profile test assuming dumb compilerRenato Golin2016-09-011-1/+1
| | | | | | | | | Commit r280364 has introduced some call-graph optmisations making a profiler test "fail" due to not expecting the compiler to be "smart", and fold constants across functions. This commit works around the issue, leaving the origial semantics intact. llvm-svn: 280365
* [Profile] Add a new test caseXinliang David Li2016-07-301-0/+35
The end-end test checks that cs-profile counter update is obtained as expected. llvm-svn: 277276
OpenPOWER on IntegriCloud