Skip to content
  1. 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
    • 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
    • NAKAMURA Takumi's avatar
      tools/lto/LTOModule.cpp: Eliminate an unused variable. · f4d5346f
      NAKAMURA Takumi authored
      llvm-svn: 127859
      f4d5346f
    • NAKAMURA Takumi's avatar
      ce60d4cd
  2. Mar 17, 2011
  3. Mar 15, 2011
  4. Mar 14, 2011
  5. Mar 13, 2011
  6. Mar 12, 2011
  7. Mar 11, 2011
  8. 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
  9. Feb 27, 2011
  10. Feb 26, 2011
  11. Feb 24, 2011
  12. Feb 23, 2011
  13. Feb 22, 2011
  14. Feb 20, 2011
  15. Feb 19, 2011
  16. Feb 18, 2011
Loading