Skip to content
  1. Oct 07, 2013
  2. Oct 02, 2013
    • Chandler Carruth's avatar
      Remove the very substantial, largely unmaintained legacy PGO · ea564946
      Chandler Carruth authored
      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
      ea564946
    • Chandler Carruth's avatar
      Tidy up this line of the Makefile before I start hacking on it. · d8c3e91e
      Chandler Carruth authored
      I really should sort it or do something more sustainable, but I couldn't
      work up the energy to do it... Sorry.
      
      llvm-svn: 191832
      d8c3e91e
  3. Sep 20, 2013
  4. Jun 15, 2013
    • Rafael Espindola's avatar
      Remove the LLVM specific archive index. · 668c6428
      Rafael Espindola authored
      Archive files (.a) can have a symbol table indicating which object
      files in them define which symbols. The purpose of this symbol table
      is to speed up linking by allowing the linker the read only the .o
      files it is actually going to use instead of having to parse every
      object's symbol table.
      
      LLVM's archive library currently supports a LLVM specific format for
      such table. It is hard to see any value in that now that llvm-ld is
      gone:
      
      * System linkers don't use it: GNU ar uses the same plugin as the
      linker to create archive files with a regular index. The OS X ar
      creates no symbol table for IL files, I assume the linker just parses
      all IL files.
      
      * It doesn't interact well with archives having both IL and native objects.
      
      * We probably don't want to be responsible for yet another archive
      format variant.
      
      This patch then:
      
      * Removes support for creating and reading such index from lib/Archive.
      * Remove llvm-ranlib, since there is nothing left for it to do.
      
      We should in the future add support for regular indexes to llvm-ar for
      both native and IL objects. When we do that, llvm-ranlib should be
      reimplemented as a symlink to llvm-ar, as it is equivalent to "ar s".
      
      llvm-svn: 184019
      668c6428
  5. Apr 05, 2013
  6. Nov 27, 2012
  7. Nov 21, 2012
  8. Nov 12, 2012
  9. Nov 01, 2012
  10. Apr 19, 2012
    • Michael J. Spencer's avatar
      Remove llvm-ld and llvm-stub (which is only used by llvm-ld). · 9125493e
      Michael J. Spencer authored
      llvm-ld is no longer useful and causes confusion and so it is being removed.
      
      * Does not work very well on Windows because it must call a gcc like driver to
        assemble and link.
      * Has lots of hard coded paths which are wrong on many systems.
      * Does not understand most of ld's options.
      * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} |
        ld, or fully replaced by Clang.
      
      I know of no production use of llvm-ld, and hacking use should be
      replaced by Clang's driver.
      
      llvm-svn: 155147
      9125493e
  11. Mar 01, 2012
    • David Meyer's avatar
      [Object] · 2fc34c5f
      David Meyer authored
      * Add begin_dynamic_table() / end_dynamic_table() private interface to ELFObjectFile.
      * Add begin_libraries_needed() / end_libraries_needed() interface to ObjectFile, for grabbing the list of needed libraries for a shared object or dynamic executable.
      * Implement this new interface completely for ELF, leave stubs for COFF and MachO.
      * Add 'llvm-readobj' tool for dumping ObjectFile information.
      
      llvm-svn: 151785
      2fc34c5f
  12. Feb 26, 2012
    • Nadav Rotem's avatar
      · 78bda894
      Nadav Rotem authored
      Add a random .LL file generator to stress-test different llvm components.
      
      llvm-svn: 151479
      78bda894
  13. Dec 01, 2011
  14. Nov 29, 2011
  15. Nov 10, 2011
  16. Nov 03, 2011
    • Daniel Dunbar's avatar
      llvm-config: Start stubbing out a C++ version of llvm-config (as llvm-config-2, · b0f7a147
      Daniel Dunbar authored
      for now).
      
       - Mostly complete except for the data that needs to come from the build system
         or the dependencies.
      
       - Has some small improvements from current llvm-config:
      
         o Uses TargetRegistry directly to get some information.
      
         o Designed to work correctly when used from a CMake build tree (relatively
           untested currently) (although pcc fixed this recently for old llvm-config).
      
      llvm-svn: 143616
      b0f7a147
  17. Oct 16, 2011
  18. Sep 28, 2011
    • Michael J. Spencer's avatar
      Add llvm-size. · c4ad4660
      Michael J. Spencer authored
      llvm-svn: 140722
      c4ad4660
    • Devang Patel's avatar
      Introduce llvm-cov. · 3714065a
      Devang Patel authored
      Add llvm-cov skeleton. It has initial support to read coverage info generated by GCOVProfiling.cpp. 
      Today, you can do
      prompt> clang a.c -ftest-coverage -fprofile-arcs -o a
      prompt> ./a
      prompt> llvm-cov -gcno a.gcno -gcda a.gcda 
      a.c
       :	#include "a.h"
       :	
       :	int main() {
       :		int i = 0;
       :		if (i) {
      1:			int j = 0;
      1:			j = 1;
      1:		} else {
       :			int k = 1;
       :			k = 2;
       :		}
      1:		return 0;
       :	}
       :	
       :	
      
      llvm-svn: 140712
      3714065a
  19. Sep 20, 2011
  20. Sep 13, 2011
    • Benjamin Kramer's avatar
      Sketch out a DWARF parser. · aa2f78f5
      Benjamin Kramer authored
      This introduces a new library to LLVM: libDebugInfo. It will provide debug information
      parsing to LLVM. Much of the design and some of the code is taken from the LLDB project.
      
      It also contains an llvm-dwarfdump tool that can dump the abbrevs and DIEs from an
      object file. It can be used to write tests for DWARF input and output easily.
      
      llvm-svn: 139627
      aa2f78f5
  21. Mar 18, 2011
    • Jim Grosbach's avatar
      MachO file loader and execution utility. · 0072cdbc
      Jim Grosbach authored
      Add a bone-simple utility to load a MachO object into memory, look for
      a function (main) in it, and run that function directly. This will be used
      as a test and development platform for MC-JIT work regarding symbol resolution,
      dynamic lookup, etc..
      
      Code by Daniel Dunbar.
      
      llvm-svn: 127885
      0072cdbc
  22. Feb 20, 2011
    • Stephen Wilson's avatar
      This patch lets LLDB build as an LLVM subproject. LLDB is not built in · a32b8d78
      Stephen Wilson authored
      parallel with the rest of the tools directory as it depends on Clang.
      
      This patch was first applied in r125956 and subsequently reverted in
      r125964 as it broke in-tree builds.  Makefile.rules was fixed up in 
      r126070 to handle missing optional directories for the in-tree case,
      so it should be safe now to bring this patch back in.
       
      
      llvm-svn: 126071
      a32b8d78
  23. Feb 18, 2011
  24. Jan 20, 2011
  25. Dec 16, 2010
  26. Nov 29, 2010
  27. Nov 27, 2010
  28. Oct 30, 2010
    • Tobias Grosser's avatar
      Add polly support to the build system. · ea9dca4c
      Tobias Grosser authored
      Update the cmake and autoconf build system to compile polly
      as a shared library if it is checked out into tools/polly. In case
      polly is not checked out, nothing changes.
      This models the way clang can be added to llvm if checked out to tools/clang.
      
      Also rebuild configure.
      
      Patch contributed by ether.
      
      llvm-svn: 117755
      ea9dca4c
  29. Aug 24, 2010
  30. Aug 09, 2010
Loading