Skip to content
  1. Jul 23, 2013
    • Rafael Espindola's avatar
      Split getOpenFile into getOpenFile and getOpenFileSlice. · 3d2ac2e4
      Rafael Espindola authored
      The main observation is that we never need both the filesize and the map size.
      When mapping a slice of a file, it doesn't make sense to request a null
      terminator and that would be the only case where the filesize would be used.
      
      There are other cleanups that should be done in this area:
      
      * A client should not have to pass the size (even an explicit -1) to say if
        it wants a null terminator or not, so we should probably swap the argument
        order.
      * The default should be to not require a null terminator. Very few clients
        require this, but many end up asking for it just because it is the default.
      
      llvm-svn: 186984
      3d2ac2e4
  2. Dec 10, 2012
    • Bill Wendling's avatar
      Revert r169656. · 4a8fc8f2
      Bill Wendling authored
      The linker will call `lto_codegen_add_must_preserve_symbol' on all globals that
      should be kept around. The linker will pretend that a dylib is being created.
      <rdar://problem/12528059>
      
      llvm-svn: 169770
      4a8fc8f2
  3. Dec 08, 2012
    • Bill Wendling's avatar
      Add the `lto_codegen_set_export_dynamic' function. · 65a6ee11
      Bill Wendling authored
      This function sets the `_exportDynamic' ivar. When that's set, we export all
      symbols (e.g. we don't run the internalize pass). This is equivalent to the
      `--export-dynamic' linker flag in GNU land:
      
      --export-dynamic
        When creating a dynamically linked executable, add all symbols to the dynamic
        symbol table. The dynamic symbol table is the set of symbols which are visible
        from dynamic objects at run time. If you do not use this option, the dynamic
        symbol table will normally contain only those symbols which are referenced by
        some dynamic object mentioned in the link. If you use dlopen to load a dynamic
        object which needs to refer back to the symbols defined by the program, rather
        than some other dynamic object, then you will probably need to use this option
        when linking the program itself.
      
      The Darwin linker will support this via the `-export_dynamic' flag. We should
      modify clang to support this via the `-rdynamic' flag.
      
      llvm-svn: 169656
      65a6ee11
  4. Dec 04, 2012
    • Chandler Carruth's avatar
      Sort the #include lines for tools/... · 4d88a1c2
      Chandler Carruth authored
      Again, tools are trickier to pick the main module header for than
      library source files. I've started to follow the pattern of using
      LLVMContext.h when it is included as a stub for program source files.
      
      llvm-svn: 169252
      4d88a1c2
  5. Apr 16, 2012
  6. Apr 09, 2012
  7. Mar 31, 2012
  8. Mar 30, 2012
  9. Apr 15, 2011
  10. Mar 22, 2011
  11. Mar 17, 2011
  12. Feb 24, 2011
  13. Feb 08, 2011
  14. Jan 07, 2011
  15. Aug 26, 2010
  16. Aug 11, 2010
  17. Aug 10, 2010
  18. Aug 09, 2010
  19. Aug 03, 2009
  20. Jul 03, 2009
  21. Jul 02, 2009
  22. Jul 01, 2009
  23. Jun 26, 2009
  24. Jun 04, 2009
  25. Apr 30, 2009
  26. Jul 08, 2008
  27. Jul 04, 2008
  28. Jun 30, 2008
    • Devang Patel's avatar
      · 4be1c150
      Devang Patel authored
      Rename new lto2 tool as lto.
      lto2->lto
      
      llvm-svn: 52912
      4be1c150
  29. Feb 27, 2008
  30. Feb 26, 2008
Loading