| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
infrastructure.
This was essentially work toward PGO based on a design that had several
flaws, partially dating from a time when LLVM had a different
architecture, and with an effort to modernize it abandoned without being
completed. Since then, it has bitrotted for several years further. The
result is nearly unusable, and isn't helping any of the modern PGO
efforts. Instead, it is getting in the way, adding confusion about PGO
in LLVM and distracting everyone with maintenance on essentially dead
code. Removing it paves the way for modern efforts around PGO.
Among other effects, this removes the last of the runtime libraries from
LLVM. Those are being developed in the separate 'compiler-rt' project
now, with somewhat different licensing specifically more approriate for
runtimes.
llvm-svn: 191835
|
|
|
|
|
|
| |
Patch by Benjamin Scarlet!
llvm-svn: 187641
|
|
|
|
|
|
|
|
| |
Back in r140220 we removed the autoconf code that would set LLVMCC_OPTION
since it was only used by the test-suite. This patch now removes code
that would only be used if LLVMCC_OPTION was set.
llvm-svn: 187154
|
|
|
|
|
|
|
|
| |
Specifying the load address for Darwin i386 dylibs was a performance
optimization for dyld that is not relevant for x86_64 or arm. We can just
remove this now.
llvm-svn: 183230
|
|
|
|
|
|
| |
is the one that should be used.
llvm-svn: 176608
|
|
|
|
|
|
| |
change!
llvm-svn: 176176
|
|
|
|
|
|
|
| |
passing a null pointer to the function name in to GCDAProfiling, and add another
switch onto GCOVProfiling.
llvm-svn: 176173
|
|
|
|
|
|
| |
the Apple way.
llvm-svn: 175069
|
|
|
|
| |
llvm-svn: 167272
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
environment variable.
This allows parallel make for profiling code, without it there are file
collisions as each parallel run uses the default file name.
There is already code in the runtime library to specify the output file name
via the command line, but this only works for programs which already process
argc/argv. This patch builds on that support.
Patch by Alastair Murray.
llvm-svn: 167269
|
|
|
|
| |
llvm-svn: 165599
|
|
|
|
|
|
| |
This reverts commit 165428 in an attempt to get our buildbots going.
llvm-svn: 165574
|
|
|
|
| |
llvm-svn: 165428
|
|
|
|
|
|
| |
file name if building Apple-style.
llvm-svn: 165185
|
|
|
|
|
|
| |
library. Autoconf's one does so.
llvm-svn: 162812
|
|
|
|
|
|
|
|
|
|
|
|
| |
ProfileDataTypes.h header.
With this patch the old and new profiling code can exist side-by-side. The new
profiling code will be submitted soon and it only supports insert-edge-profiling
for now and will not depend on ProfileInfo.
Patch by Alastair Murray.
llvm-svn: 162576
|
|
|
|
| |
llvm-svn: 158513
|
|
|
|
| |
llvm-svn: 157502
|
|
|
|
| |
llvm-svn: 157501
|
|
|
|
| |
llvm-svn: 157451
|
|
|
|
| |
llvm-svn: 157450
|
|
|
|
| |
llvm-svn: 155726
|
|
|
|
| |
llvm-svn: 155661
|
|
|
|
| |
llvm-svn: 153564
|
|
|
|
|
|
| |
pointers directly.
llvm-svn: 153558
|
|
|
|
| |
llvm-svn: 153549
|
|
|
|
|
|
|
|
| |
executable has been moved to another machine). If that's not available
(read-only or something), then exit gracefully.
<rdar://problem/11111686>
llvm-svn: 153538
|
|
|
|
| |
llvm-svn: 149844
|
|
|
|
|
|
| |
optimize out "static" scope w/o "inline".
llvm-svn: 144080
|
|
|
|
|
|
|
| |
-std=gnu89 -pedantic.
FIXME: Should configure detect one?
llvm-svn: 144070
|
|
|
|
| |
llvm-svn: 141495
|
|
|
|
|
|
| |
attribute warn_unused_result.
llvm-svn: 140314
|
|
|
|
| |
llvm-svn: 136369
|
|
|
|
| |
llvm-svn: 135538
|
|
|
|
| |
llvm-svn: 133741
|
|
|
|
| |
llvm-svn: 133042
|
|
|
|
|
|
| |
<rdar://problem/9600408>
llvm-svn: 132929
|
|
|
|
| |
llvm-svn: 132109
|
|
|
|
|
|
|
|
| |
'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
atexit really expects a "void f(void)" function.
llvm-svn: 132061
|
|
|
|
| |
llvm-svn: 130967
|
|
|
|
|
|
| |
crash.
llvm-svn: 130911
|
|
|
|
|
|
|
| |
That's kinda weird because the .gcno files are supposed to already be there,
but libgcov does this and somehow Google has managed to depend on it.
llvm-svn: 130879
|
|
|
|
| |
llvm-svn: 130834
|
|
|
|
| |
llvm-svn: 130589
|
|
|
|
|
|
| |
issue.
llvm-svn: 130530
|
|
|
|
| |
llvm-svn: 130529
|
|
|
|
|
|
|
|
| |
- unistd.h doesn't exist with MSVC
- inline must be __inline in Microsoft C
- atexit cannot take a function declared as void f(), must be void f(void).
llvm-svn: 130490
|
|
|
|
|
|
|
|
|
|
|
|
| |
under cmake).
Add libprofile_rt.a so that we can tell clang to link against it in --coverage
mode. Also turn it on by default in cmake builds.
Oscar, this touches a change you made for EXCLUDE_FROM_ALL support -- I think
I've done the right thing, but please let me know (or fix and commit) if not!
llvm-svn: 130470
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
between two reads (threading).
Fix an off-by-one in the indirect counter table that I meant to revert after an
earlier experiment. Whoops!
Implement GCOV_PREFIX. Doesn't handle GCOV_PREFIX_STRIP yet.
Fix an off-by-one in string emission. Extra whoops!
Tolerate DISubprograms that have null Function*'s attached to them. I don't yet
understand what this means, but it happens when you have a global static with
a non-trivial constructor/destructor.
Fix a crash on switch statements with a single successor (default-only).
llvm-svn: 130443
|
|
|
|
|
|
| |
C89 doesn't have an inline keyword.
llvm-svn: 130279
|