Sean Silva
537b146798
[libprofile] Define an expansion `%clang_profgen=`
...
llvm-svn: 272498
2016-06-12 04:17:57 +00:00
Xinliang David Li
df5843a532
[profile] fix bot failure on darwin
...
Profile setting accross shared lib is broken on darwin (to be investigated).
Move the test to Linux only for now
llvm-svn: 272404
2016-06-10 16:23:32 +00:00
David Blaikie
7d492c4ff8
add -f to rm so the test passes the first time it's run the file file is not present
...
(otherwise it just keeps failing at the rm step and never passes... )
llvm-svn: 271959
2016-06-06 23:31:58 +00:00
Xinliang David Li
0891b6d59b
[profile] code cleanup /NFC
...
Address review feedback for better
readability.
llvm-svn: 271922
2016-06-06 18:31:29 +00:00
Xinliang David Li
5cd1f94d4f
[profile] in-process mergeing support (part-2)
...
(Part-1 merging API is in profile runtime)
This patch implements a portable file opening API
with exclusive access for the process. In-process
profile merge requires profile file update to be
atomic/fully sychronized.
llvm-svn: 271864
2016-06-06 03:17:58 +00:00
Xinliang David Li
9ab45cf1eb
Move test only for the relevant platform
...
llvm-svn: 271098
2016-05-28 04:26:06 +00:00
Xinliang David Li
c3fdce3f1d
[profile] Add a test to ensure runtime allocator is not invoked
...
llvm-svn: 271017
2016-05-27 16:49:29 +00:00
Xinliang David Li
7b41393497
[profile] initialize static pool properly
...
Remove dependency on runtime initializer to avoid
issues related to initialization order.
llvm-svn: 270371
2016-05-22 16:36:03 +00:00
Xinliang David Li
f6d61afc14
Make vp merge test more robust
...
llvm-svn: 264521
2016-03-26 20:44:03 +00:00
Xinliang David Li
cf1a8d6912
[PGO] internal API name cleanups (for better consistency)
...
llvm-svn: 262788
2016-03-06 04:18:13 +00:00
Xinliang David Li
dd12e9a8c0
[PGO] Add API for profile merge from buffer
...
Differential Revision: http://reviews.llvm.org/D17831
llvm-svn: 262644
2016-03-03 18:54:46 +00:00
Xinliang David Li
80d4b898d1
Test cleanups
...
llvm-svn: 262162
2016-02-28 00:54:28 +00:00
Xinliang David Li
adbb7b7b57
[PGO] add a test for available_externally functions
...
llvm-svn: 262161
2016-02-28 00:45:13 +00:00
Xinliang David Li
3d731c5e44
minor test runline cleanup
...
llvm-svn: 261361
2016-02-19 20:28:51 +00:00
Xinliang David Li
0fc35d0a42
Add test coverage for default linker
...
llvm-svn: 261261
2016-02-18 21:11:37 +00:00
Xinliang David Li
00ec96b5a0
Rollback 260394 -- 32bit test needs more config support
...
llvm-svn: 260402
2016-02-10 18:38:27 +00:00
Xinliang David Li
ee195caf66
Add tests for -m32
...
llvm-svn: 260394
2016-02-10 17:57:55 +00:00
Xinliang David Li
a3be895b61
[PGO] Simpflify test and increase coverage
...
llvm-svn: 260142
2016-02-08 20:46:26 +00:00
Xinliang David Li
879e14330e
Test update : tighten up checks
...
llvm-svn: 260052
2016-02-07 20:08:36 +00:00
Xinliang David Li
e5c9b5fe5c
Revert 260050 -- new test case should not be included
...
llvm-svn: 260051
2016-02-07 20:06:36 +00:00
Xinliang David Li
c1cf60b339
Test update : tighten up checks
...
llvm-svn: 260050
2016-02-07 20:05:06 +00:00
Xinliang David Li
abf6d973f4
Add coverage tests (defaulted constructors/destructor)
...
llvm-svn: 260041
2016-02-07 16:31:13 +00:00
Xinliang David Li
8b1f80779b
Resubmit test case with more restriction
...
The original submittion triggered a BFD linker bug (2.24) on Aarch64 only. Before
the build bot is upgraded to more recent linker, restrict the test to be
executed only with gold linker.
llvm-svn: 258437
2016-01-21 21:59:19 +00:00
Xinliang David Li
944cd4d318
[Coverage] add test cases for coverage testing
...
1. One test covering coverage-mapping interfaction with linker GC
2. one test covering coverage-mapping with shared libaries
llvm-svn: 257782
2016-01-14 18:15:54 +00:00
Xinliang David Li
31ad54298e
[PGO] Add Linux specific test cases for profile runtime
...
(second try with more strict config check)
Currently, only gc-sections related tests are added. Gold
linker currently is required due to PR19161 of bfd linker.
llvm-svn: 257456
2016-01-12 07:18:53 +00:00
Xinliang David Li
452f1a5576
Revert r257444 : arm build bots failure
...
llvm-svn: 257446
2016-01-12 05:39:26 +00:00
Xinliang David Li
cfefae8a14
[PGO] Add Linux specific test cases for profile runtime
...
Currently, only gc-sections related tests are added. Gold
linker currently is required due to PR19161 of bfd linker.
llvm-svn: 257444
2016-01-12 04:54:24 +00:00