| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
See r367803 and similar other changes.
llvm-svn: 367858
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These lit configuration files are really Python source code. Using the
.py file extension helps editors and tools use the correct language
mode. LLVM and Clang already use this convention for lit configuration,
this change simply applies it to all of compiler-rt.
Reviewers: vitalybuka, dberris
Differential Revision: https://reviews.llvm.org/D63658
llvm-svn: 364591
|
|
|
|
| |
llvm-svn: 357462
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The changes in https://reviews.llvm.org/D44847 cause load time failure
due to lprofMergeValueProfData in Android libs enabled with profile generation:
"dlopen failed: cannot locate symbol "lprofMergeValueProfData" referenced by..."
Marking lprofMergeValueProfData as hidden so the correct in-module definition
is picked by the linker.
Reviewers: davidxl
Reviewed By: davidxl
Subscribers: efriedma, xur, davidxl, llvm-commits
Differential Revision: https://reviews.llvm.org/D55893
llvm-svn: 354064
|
|
|
|
|
|
| |
Move test/profile/instrprof-value-merge.c from r328987 to Linux directory.
llvm-svn: 329016
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test expects to see the pattern "load add store" twice
in a row.
However the test contains actually several instances of this pattern.
Currently the first pattern appears in the output twice.
But after LLVM change https://reviews.llvm.org/D42691 some addtional
modification is done and one of another pattern has been hoisted in
function entry block.
As a result we have another order of meeting this pattern.
The test is updated to meet this change.
llvm-svn: 324571
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D41059
llvm-svn: 320999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
As discussed in https://github.com/google/oss-fuzz/issues/933,
it would be really awesome to be able to use ThinLTO for fuzzing.
However, as @kcc has pointed out, it is currently undefined (untested)
whether the sanitizers actually function properly with LLD and/or LTO.
This patch is inspired by the cfi test, which already do test with LTO
(and/or LLD), since LTO is required for CFI to function.
I started with UBSan, because it's cmakelists / lit.* files appeared
to be the cleanest. This patch adds the infrastructure to easily add
LLD and/or LTO sub-variants of the existing lit test configurations.
Also, this patch adds the LLD flavor, that explicitly does use LLD to link.
The check-ubsan does pass on my machine. And to minimize the [initial]
potential buildbot breakage i have put some restrictions on this flavour.
Please review carefully, i have not worked with lit/sanitizer tests before.
The original attempt, r319525 was reverted in r319526 due
to the failures in compiler-rt standalone builds.
Reviewers: eugenis, vitalybuka
Reviewed By: eugenis
Subscribers: #sanitizers, pcc, kubamracek, mgorny, llvm-commits, mehdi_amini, inglorion, kcc
Differential Revision: https://reviews.llvm.org/D39508
llvm-svn: 319575
|
|
|
|
|
|
|
| |
Addresses bot failure:
http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/9803
llvm-svn: 313602
|
|
|
|
|
|
|
| |
The compiler-rt tests used llvm-cov with -filename-equivelence, which was
replaced with the new option -path-equivalence in rL310827.
llvm-svn: 310836
|
|
|
|
| |
llvm-svn: 310015
|
|
|
|
| |
llvm-svn: 307869
|
|
|
|
| |
llvm-svn: 307864
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D34085
llvm-svn: 306232
|
|
|
|
| |
llvm-svn: 305113
|
|
|
|
|
|
|
|
| |
Revert "[PGO] remove unintended debug trace. NFC"
This reverts commit r295469, r295364, as they are unstable on ARM/AArch64.
llvm-svn: 295664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
We found a nondeterministic behavior when doing online profile merging
for multi-process applications. The application forks a sub-process and
sub-process sets to get SIGKILL when the parent process exits,
The first process gets the lock, and dumps the profile. The second one
will mmap the file, do the merge and write out the file. Note that before
the merged write, we truncate the profile.
Depending on the timing, the child process might be terminated
abnormally when the parent exits first. If this happens:
(1) before the truncation, we will get the profile for the main process
(2) after the truncation, and before write-out the profile, we will get
0 size profile.
(3) after the merged write, we get merged profile.
This patch temporarily suspend the SIGKILL for PR_SET_PDEATHSIG
before profile-write and restore it after the write.
This patch only applies to Linux system.
Reviewers: davidxl
Reviewed By: davidxl
Subscribers: xur, llvm-commits
Differential Revision: https://reviews.llvm.org/D29954
llvm-svn: 295364
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D29960
llvm-svn: 295108
|
|
|
|
| |
llvm-svn: 291594
|
|
|
|
|
|
| |
(universal_newlines=True).
llvm-svn: 288490
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes __llvm_profile_set_filename() work across dylib boundaries on
Darwin.
This functionality was originally meant to work on all platforms, but
was moved to a Linux-only directory with r272404. The root cause of the
test failure on Darwin was that lprofCurFilename was not marked weak.
Each dylib maintained its own copy of the variable due to the two-level
namespace.
Tested with check-profile (on Darwin). I don't expect this to regress
other platforms.
Differential Revision: https://reviews.llvm.org/D25707
llvm-svn: 284440
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
This should fix the following bot failure:
http://lab.llvm.org:8011/builders/clang-ppc64le-linux/builds/6522
Patch by Ying Yi!
llvm-svn: 278164
|
|
|
|
|
|
|
| |
Test checks that context specific profiles for comdat functions
are not lost.
llvm-svn: 277381
|
|
|
|
|
|
|
| |
The end-end test checks that cs-profile counter update
is obtained as expected.
llvm-svn: 277276
|
|
|
|
| |
llvm-svn: 272498
|
|
|
|
|
|
|
| |
Profile setting accross shared lib is broken on darwin (to be investigated).
Move the test to Linux only for now
llvm-svn: 272404
|
|
|
|
|
|
|
|
| |
present
(otherwise it just keeps failing at the rm step and never passes... )
llvm-svn: 271959
|
|
|
|
|
|
|
| |
Address review feedback for better
readability.
llvm-svn: 271922
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
llvm-svn: 271098
|
|
|
|
| |
llvm-svn: 271017
|
|
|
|
|
|
|
| |
Remove dependency on runtime initializer to avoid
issues related to initialization order.
llvm-svn: 270371
|
|
|
|
| |
llvm-svn: 264521
|
|
|
|
| |
llvm-svn: 262788
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D17831
llvm-svn: 262644
|
|
|
|
| |
llvm-svn: 262162
|
|
|
|
| |
llvm-svn: 262161
|
|
|
|
| |
llvm-svn: 261361
|
|
|
|
| |
llvm-svn: 261261
|
|
|
|
| |
llvm-svn: 260402
|
|
|
|
| |
llvm-svn: 260394
|
|
|
|
| |
llvm-svn: 260142
|
|
|
|
| |
llvm-svn: 260052
|
|
|
|
| |
llvm-svn: 260051
|
|
|
|
| |
llvm-svn: 260050
|
|
|
|
| |
llvm-svn: 260041
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
1. One test covering coverage-mapping interfaction with linker GC
2. one test covering coverage-mapping with shared libaries
llvm-svn: 257782
|