summaryrefslogtreecommitdiff
path: root/test/profile/instrprof-without-libc.c
AgeCommit message (Collapse)Author
2016-03-28[libprofile] Make this test a bit more specificSean Silva
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264625 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-03[PGO] Add API for profile merge from bufferXinliang David Li
Differential Revision: http://reviews.llvm.org/D17831 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@262644 91177308-0d34-0410-b5e6-96231b3b80d8
2016-03-02Fix minor bug in testXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@262514 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-10[PGO] Split value profiling runtime into its own fileXinliang David Li
Value profile runtime depends on libc which breaks buffer API implemenation with current file organization. Test case is also updated to check more symbols. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@255294 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-07[PGO] Stop leaking libc function to buffer API implXinliang David Li
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254943 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-15Update lib/profile tests for metadata assembly changeDuncan P. N. Exon Smith
Running the upgrade script from PR21532. Hopefully this will unstick compiler-rt bots [1] after r224257. [1]: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA_check/181/ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224276 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-18profile: Robustify instrprof testsJustin Bogner
Change these tests not to rely on the exact metadata numbers the profile data gets. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@222279 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-13InstrProf: support PowerPC64Jay Foad
Summary: I don't know anything about profiling but it seems to work out of the box on PowerPC64. At least "make check-profile" works. A few tests needed tweaking because PowerPC64 IR declares main with "define signext i32 @main" instead of just "define i32 @main". This also fixes the asan asan_and_llvm_coverage_test test, which compiles with -coverage so requires that a profiling version of libclang_rt has been built. Reviewers: dexonsmith, kcc, samsonov Reviewed By: samsonov Subscribers: samsonov, llvm-commits Differential Revision: http://reviews.llvm.org/D6233 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221877 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-09InstrProf: Pacify buildbots after r208460Duncan P. N. Exon Smith
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208462 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-09InstrProf: Test the functions in the runtimeDuncan P. N. Exon Smith
Check that the profile runtime works as expected. This tests the functions that are meant to be available to advanced users. In particular, check that the `atexit()` hook can be disabled by defining a custom `__llvm_profile_runtime` variable, that the libc dependencies are optional, and that the various functions for writing out files work for basic cases. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208460 91177308-0d34-0410-b5e6-96231b3b80d8