- Jul 23, 2013
-
-
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
-
- Dec 10, 2012
-
-
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
-
- Dec 08, 2012
-
-
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
-
- Dec 04, 2012
-
-
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
-
- Apr 16, 2012
-
-
Rafael Espindola authored
so we don't want it to show up in the stable 3.1 interface. While at it, add a comment about why LTOCodeGenerator manually creates the internalize pass. llvm-svn: 154807
-
- Apr 09, 2012
-
-
Bill Wendling authored
llvm-svn: 154312
-
Bill Wendling authored
llvm-svn: 154306
-
- Mar 31, 2012
-
-
Bill Wendling authored
llvm-svn: 153802
-
- Mar 30, 2012
-
-
Bill Wendling authored
llvm-svn: 153740
-
- Apr 15, 2011
-
-
Chris Lattner authored
Luis Felipe Strano Moraes! llvm-svn: 129558
-
- Mar 22, 2011
-
-
Rafael Espindola authored
memory and writing it back to disk. llvm-svn: 128108
-
- Mar 17, 2011
-
-
Rafael Espindola authored
of an file. llvm-svn: 127781
-
- Feb 24, 2011
-
-
Rafael Espindola authored
6m30. llvm-svn: 126426
-
- Feb 08, 2011
-
-
Rafael Espindola authored
MemoryBuffer::getOpenFile to not close the file descriptor. llvm-svn: 125128
-
- Jan 07, 2011
-
-
Devang Patel authored
This means avoid using uint32_t. This patch reverts r112200 and fixes original problem by fixing argument type in lto.cpp. llvm-svn: 123038
-
- Aug 26, 2010
-
-
Devang Patel authored
llvm-svn: 112200
-
- Aug 11, 2010
-
-
Rafael Espindola authored
llvm-svn: 110759
-
- Aug 10, 2010
-
-
Rafael Espindola authored
Nick, please review. llvm-svn: 110705
-
- Aug 09, 2010
-
-
Rafael Espindola authored
gold plugin. llvm-svn: 110604
-
- Aug 03, 2009
-
-
Nick Lewycky authored
llvm-svn: 77960
-
- Jul 03, 2009
-
-
Duncan Sands authored
llvm-svn: 74774
-
- Jul 02, 2009
-
-
Owen Anderson authored
llvm-svn: 74678
-
- Jul 01, 2009
-
-
Owen Anderson authored
llvm-svn: 74640
-
Owen Anderson authored
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
-
- Jun 26, 2009
-
-
Evan Cheng authored
llvm-svn: 74281
-
- Jun 04, 2009
-
-
rdar://problem/6940611Nick Kledzik authored
Add lto_codegen_set_assembler_path() API which allows the linker to specify the path to the assembler tool to run. When assembler is used (instead of compiler) different command line options are used. Add LTO_API_VERSION #define so clients (linkers) can conditionalize use of new APIs. llvm-svn: 72823
-
- Apr 30, 2009
-
-
Nick Lewycky authored
run when assembling. Wire this up to the gold plugin. You can now pass --plugin-opt gcc=/foo/bar/gcc and it will run that gcc instead of looking for it on the path. llvm-svn: 70490
-
- Jul 08, 2008
-
-
Nick Kledzik authored
llvm-svn: 53249
-
- Jul 04, 2008
-
-
Devang Patel authored
llvm-svn: 53119
-
- Jun 30, 2008
-
-
Devang Patel authored
Rename new lto2 tool as lto. lto2->lto llvm-svn: 52912
-
- Feb 27, 2008
-
-
Nick Kledzik authored
llvm-svn: 47695
-
- Feb 26, 2008
-
-
Nick Kledzik authored
first commit of new LTO system. It is not hooked up in the llvm/tools/Makefile, so no one will build it be default yet llvm-svn: 47621
-