Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the very substantial, largely unmaintained legacy PGO | Chandler Carruth | 2013-10-02 | 12 | -762/+0 |
| | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Bring back the build of libprofile_rt on Sparc. It is now working correctly. ↵ | Sylvestre Ledru | 2013-09-08 | 1 | -6/+0 |
| | | | | | | | | | | See: https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.3&arch=sparc&ver=1%3A3.3-9&stamp=1378398308 Thanks to Luca Falavigna for the patch llvm-svn: 190273 | ||||
* | Use @rpath for libraries rather than @executable_path on OSX. | Eric Christopher | 2013-08-02 | 1 | -1/+1 |
| | | | | | | Patch by Benjamin Scarlet! llvm-svn: 187641 | ||||
* | Remove dead code from the makefile build system. | Rafael Espindola | 2013-07-25 | 1 | -3/+0 |
| | | | | | | | | 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 | ||||
* | Remove "-Wl,-seg1addr -Wl,0xE0000000" from link options. | Bob Wilson | 2013-06-04 | 1 | -2/+1 |
| | | | | | | | | 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 | ||||
* | Remove GCDAProfiling.c. This copy is old, the copy in compiler-rt is newer and | Nick Lewycky | 2013-03-07 | 4 | -225/+0 |
| | | | | | | is the one that should be used. llvm-svn: 176608 | ||||
* | Forgot that this file needs to be C89 not C99 thanks to MSVC. No functionality | Nick Lewycky | 2013-02-27 | 1 | -2/+2 |
| | | | | | | change! llvm-svn: 176176 | ||||
* | In GCC 4.7, function names are now forbidden from .gcda files. Support this by | Nick Lewycky | 2013-02-27 | 1 | -3/+8 |
| | | | | | | | passing a null pointer to the function name in to GCDAProfiling, and add another switch onto GCOVProfiling. llvm-svn: 176173 | ||||
* | Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's built in ↵ | Bill Wendling | 2013-02-13 | 1 | -1/+1 |
| | | | | | | the Apple way. llvm-svn: 175069 | ||||
* | libprofile/CommonProfiling.c: Fix according to C89. | NAKAMURA Takumi | 2012-11-02 | 1 | -2/+2 |
| | | | | llvm-svn: 167272 | ||||
* | PGO: allows the profile data file name to be specified by the LLVMPROF_OUTPUT | Manman Ren | 2012-11-02 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | 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 | ||||
* | Place temporary LTO files into their own subdirectory. | Bill Wendling | 2012-10-10 | 1 | -1/+1 |
| | | | | llvm-svn: 165599 | ||||
* | Revert "Use a special path to place the .o files in." | Bob Wilson | 2012-10-09 | 1 | -2/+1 |
| | | | | | | This reverts commit 165428 in an attempt to get our buildbots going. llvm-svn: 165574 | ||||
* | Use a special path to place the .o files in. | Bill Wendling | 2012-10-08 | 1 | -1/+2 |
| | | | | llvm-svn: 165428 | ||||
* | Add an explicit -object_path_lto flag during linking with a uniquified temporary | Bill Wendling | 2012-10-03 | 1 | -1/+8 |
| | | | | | | file name if building Apple-style. llvm-svn: 165185 | ||||
* | libprofile: [CMake] Let libprofile_rt be not loadable_module but shared ↵ | NAKAMURA Takumi | 2012-08-29 | 1 | -1/+2 |
| | | | | | | library. Autoconf's one does so. llvm-svn: 162812 | ||||
* | Profile: move a single enum out of ProfileInfoTypes.h into a new | Manman Ren | 2012-08-24 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 | ||||
* | Free the allocated filename. Found by clang static analyzer. | Bill Wendling | 2012-06-15 | 1 | -0/+1 |
| | | | | llvm-svn: 158513 | ||||
* | Small code cleanup. No functionality change. | Bill Wendling | 2012-05-25 | 1 | -9/+4 |
| | | | | llvm-svn: 157502 | ||||
* | Open in read/write mode, creating the file if it doesn't exist. | Bill Wendling | 2012-05-25 | 1 | -3/+3 |
| | | | | llvm-svn: 157501 | ||||
* | Early-continue.Reducing indentation. | Bill Wendling | 2012-05-25 | 1 | -8/+7 |
| | | | | llvm-svn: 157451 | ||||
* | Don't call exit from a runtime. | Bill Wendling | 2012-05-25 | 1 | -2/+6 |
| | | | | llvm-svn: 157450 | ||||
* | Switch to c-style comments in a C file. | David Blaikie | 2012-04-27 | 1 | -3/+4 |
| | | | | llvm-svn: 155726 | ||||
* | Defensively guard against calling malloc() with a size of zero. | Ted Kremenek | 2012-04-26 | 1 | -0/+9 |
| | | | | llvm-svn: 155661 | ||||
* | Use the correct filename for the error message. | Bill Wendling | 2012-03-28 | 1 | -1/+1 |
| | | | | llvm-svn: 153564 | ||||
* | Use Nakamura's suggestion of bypassing using 'filename' and just the ↵ | Bill Wendling | 2012-03-28 | 1 | -5/+2 |
| | | | | | | pointers directly. llvm-svn: 153558 | ||||
* | MSVC doesn't like the mixing of declarations and statements in a .c file. | Francois Pichet | 2012-03-27 | 1 | -1/+2 |
| | | | | llvm-svn: 153549 | ||||
* | Try to use the CWD if the path to the GCDA output is not available (e.g., the | Bill Wendling | 2012-03-27 | 1 | -0/+14 |
| | | | | | | | | 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 | ||||
* | Fixing a warning in MSVC (this is also a test commit) | Aaron Ballman | 2012-02-05 | 1 | -2/+2 |
| | | | | llvm-svn: 149844 | ||||
* | LLVMBuild: Remove trailing newline, which irked me. | Daniel Dunbar | 2011-12-12 | 1 | -1/+0 |
| | | | | llvm-svn: 146409 | ||||
* | PathProfiling.c: Get rid of using "inline". We may expect compiler shall ↵ | NAKAMURA Takumi | 2011-11-08 | 1 | -7/+2 |
| | | | | | | optimize out "static" scope w/o "inline". llvm-svn: 144080 | ||||
* | runtime/libprofile/PathProfiling.c: Use __inline__ to appease clang ↵ | NAKAMURA Takumi | 2011-11-08 | 1 | -3/+3 |
| | | | | | | | -std=gnu89 -pedantic. FIXME: Should configure detect one? llvm-svn: 144070 | ||||
* | build: Add initial cut at LLVMBuild.txt files. | Daniel Dunbar | 2011-11-03 | 1 | -0/+22 |
| | | | | llvm-svn: 143634 | ||||
* | Include direct.h for _mkdir on mingw32 too. | Benjamin Kramer | 2011-10-08 | 1 | -1/+1 |
| | | | | llvm-svn: 141495 | ||||
* | Fix for warnings: ignoring return value of ‘write’, declared with ↵ | Galina Kistanova | 2011-09-22 | 1 | -5/+12 |
| | | | | | | attribute warn_unused_result. llvm-svn: 140314 | ||||
* | Use version 402 for the GCDA files when compiling for Apple. | Bill Wendling | 2011-07-28 | 1 | -0/+4 |
| | | | | llvm-svn: 136369 | ||||
* | Build and install the archive when building the Apple way. | Bill Wendling | 2011-07-19 | 1 | -0/+4 |
| | | | | llvm-svn: 135538 | ||||
* | Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem. | Eli Friedman | 2011-06-23 | 1 | -1/+1 |
| | | | | llvm-svn: 133741 | ||||
* | Remove the LTO stuff from the profile_rt library's Makefile. | Bill Wendling | 2011-06-15 | 1 | -7/+2 |
| | | | | llvm-svn: 133042 | ||||
* | Add compatibility version when compiling the Apple way. | Bill Wendling | 2011-06-13 | 1 | -0/+30 |
| | | | | | | <rdar://problem/9600408> llvm-svn: 132929 | ||||
* | Fix MSVC warning regarding mkdir function usage. | Francois Pichet | 2011-05-26 | 1 | -0/+7 |
| | | | | llvm-svn: 132109 | ||||
* | Fix 3 MSVC warnings: | Francois Pichet | 2011-05-25 | 3 | -3/+3 |
| | | | | | | | | 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' atexit really expects a "void f(void)" function. llvm-svn: 132061 | ||||
* | The computation of string length is not that complicated. Fix it, again. :) | Nick Lewycky | 2011-05-05 | 1 | -1/+1 |
| | | | | llvm-svn: 130967 | ||||
* | Update the gcov version used slightly, to make it stop causing modern gcov's to | Nick Lewycky | 2011-05-05 | 1 | -2/+15 |
| | | | | | | crash. llvm-svn: 130911 | ||||
* | Create the parent directories to place the .gcda files in if they don't exist. | Nick Lewycky | 2011-05-04 | 1 | -0/+18 |
| | | | | | | | 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 | ||||
* | Fix crash when not setting GCOV_PREFIX. | Nick Lewycky | 2011-05-04 | 1 | -1/+1 |
| | | | | llvm-svn: 130834 | ||||
* | runtime/libprofile/PathProfiling.c: Don't use // comment in C source. | NAKAMURA Takumi | 2011-04-30 | 1 | -1/+1 |
| | | | | llvm-svn: 130589 | ||||
* | win32: Include DataTypes.h instead of stdint.h to try and fix a Win32 build | Daniel Dunbar | 2011-04-29 | 1 | -1/+1 |
| | | | | | | issue. llvm-svn: 130530 | ||||
* | Cleanup some DOS newlines. | Daniel Dunbar | 2011-04-29 | 1 | -8/+8 |
| | | | | llvm-svn: 130529 | ||||
* | Unbreak the MSVC build: | Francois Pichet | 2011-04-29 | 2 | -3/+15 |
| | | | | | | | | - 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 |