Xinliang David Li
5a6dc4c9b8
[Profile] Add new test
...
To test that online merging is enabled by default.
llvm-svn: 276493
2016-07-22 23:38:58 +00:00
Xinliang David Li
ab8d32d53a
[Profile] More test clean up to read profile from directory specified by -fprofile-generate=
...
llvm-svn: 276226
2016-07-21 02:14:55 +00:00
Xinliang David Li
f6b2ba687b
[Profile] Cleanup test to use new dir input feature
...
llvm-svn: 276225
2016-07-21 01:53:41 +00:00
Sean Silva
537b146798
[libprofile] Define an expansion `%clang_profgen=`
...
llvm-svn: 272498
2016-06-12 04:17:57 +00:00
Xinliang David Li
5846d08a2c
Fix win bot failure
...
llvm-svn: 272316
2016-06-09 21:52:24 +00:00
Xinliang David Li
e2ce2e0020
[profile] in-process merging support part-3
...
Differential Revision: http://reviews.llvm.org/D21056
llvm-svn: 272227
2016-06-08 23:43:56 +00:00
Duncan P. N. Exon Smith
4a7fddca0d
Update lib/profile tests for metadata assembly change
...
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/
llvm-svn: 224276
2014-12-15 21:34:19 +00:00
Justin Bogner
aa5bb91f5a
profile: Robustify instrprof tests
...
Change these tests not to rely on the exact metadata numbers the
profile data gets.
llvm-svn: 222279
2014-11-18 23:03:14 +00:00
Justin Bogner
cc0d7eeb6d
profile: Avoid name collisions between instrumentation and runtime
...
The naming scheme we're using for counters in profile data shares a
prefix with some fixed names we use for the runtime, notably
__llvm_profile_data_begin and _end. Embarrassingly, this means a
function called begin() can't be instrumented.
This modifies the runtime names so as not to collide with the
instrumentation.
llvm-svn: 217166
2014-09-04 15:45:31 +00:00
Greg Fitzgerald
6759fd9fdd
Allow any test to be executed via a %run command.
...
Configure %run with COMPILER_RT_EMULATOR:
$ cmake -DCOMPILER_RT_EMULATOR="qemu-arm -L $SYSROOT"
llvm-svn: 207707
2014-04-30 21:32:30 +00:00
Duncan P. N. Exon Smith
a5f806e599
InstrProf: Remove LTO dependency from test
...
The -flto flag relies on linker features that are not available on all
platforms.
<rdar://problem/16458307>
llvm-svn: 205318
2014-04-01 15:29:27 +00:00
Duncan P. N. Exon Smith
ae2f0bbcf1
InstrProf: Add simple compiler-rt test
...
Add the test infrastructure for testing lib/profile and a single test.
This initial commit only enables the tests on Darwin, but they'll be
enabled on Linux soon after.
<rdar://problem/16458307>
llvm-svn: 205256
2014-03-31 22:45:37 +00:00