Skip to content
  1. Aug 06, 2012
  2. Apr 02, 2012
  3. Mar 31, 2012
  4. Mar 29, 2012
    • Bill Wendling's avatar
      Make some headway towards compiling all of LLVM. · 9ee2d338
      Bill Wendling authored
      Module-level ASM may contain definitions of functions and globals. However, we
      were not telling the linker that these globals had definitions. As far as it was
      concerned, they were just declarations.
      
      Attempt to resolve this by inserting module-level ASM functions and globals into
      the '_symbol' set so that the linker will know that they have values.
      
      This gets us further towards our goal of compiling LLVM, but it still has
      problems when linking libLTO.dylib because of the `-dead_strip' flag that's
      passed to the linker.
      
      <rdar://problem/11124216>
      
      llvm-svn: 153638
      9ee2d338
    • Bill Wendling's avatar
      Cleanup whitespace. · 2b743c3f
      Bill Wendling authored
      llvm-svn: 153634
      2b743c3f
    • Bill Wendling's avatar
      Cleanup some whitespaces. · 7e58b386
      Bill Wendling authored
      llvm-svn: 153612
      7e58b386
  5. Mar 28, 2012
  6. Nov 04, 2011
  7. Sep 08, 2011
  8. Mar 18, 2011
    • Rafael Espindola's avatar
      Simplify the computation of undefined symbols. Instead of walking · c78f6577
      Rafael Espindola authored
      functions and initializers, just report the declarations present in
      the module.
      
      The motivation is to open the way for using the lazy module parsing,
      which should speed up clients that just want a symbol list (nm, ar).
      
      This is slightly less precise, but since both -strip-dead-prototypes
      and -globaldce are part of the standard pipeline, this shouldn't
      change the result for clang/dragonegg produced binaries.
      
      Any decl in an IL file was also put there because a FE expected it
      to be necessary, so this should not be a problem for "-O0 -emit-llvm".
      
      As a sanity check, I have bootstrapped clang on linux and built
      firefox on both linux and darwin. A clang bootstrap on darwin
      with LTO fails with or without this patch because, ironically,
      the linker doesn't like the combination of dead_strip and LTO
      when building libLTO.so :-)
      
      llvm-svn: 127870
      c78f6577
  9. Mar 17, 2011
  10. Mar 02, 2011
    • Rafael Espindola's avatar
      Add a special streamer to libLTO that just records symbols definitions and · 1e49a6d9
      Rafael Espindola authored
      uses.
      
      The result produced by the streamer is used to give the linker more accurate
      information and to add to llvm.compiler.used. The second improvement removes
      the need for the user to add __attribute__((used)) to functions only used in
      inline asm. The first one lets us build firefox with LTO on Darwin :-)
      
      llvm-svn: 126830
      1e49a6d9
  11. Feb 08, 2011
  12. Aug 09, 2010
  13. Dec 23, 2009
  14. Nov 18, 2009
  15. Jul 02, 2009
  16. Jul 01, 2009
  17. Jun 01, 2009
  18. May 30, 2009
  19. Apr 24, 2009
  20. Jul 16, 2008
  21. Jun 30, 2008
    • Devang Patel's avatar
      · 4be1c150
      Devang Patel authored
      Rename new lto2 tool as lto.
      lto2->lto
      
      llvm-svn: 52912
      4be1c150
  22. Jun 18, 2008
  23. May 09, 2008
  24. Feb 27, 2008
  25. Feb 26, 2008
Loading