674be02d525d4e24bc6943ed9274958c580bcfbc |
|
10-Jan-2013 |
Jakub Staszak <kubastaszak@gmail.com> |
Fix include guards so they exactly match file names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172025 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
50f318384c4db1419f9c48d85af350260c4976b8 |
|
10-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Revert r169656. 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> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
f62b9cd8905fd04e78775e29a01f41667286e67c |
|
08-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Add the `lto_codegen_set_export_dynamic' function. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169656 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
8a2ce5d32987f99185f40eb3085a8972291f8d5c |
|
24-Nov-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
libLTO: Add a utility method to initialize the disassemblers. Necessary to give disassembler users (like darwin's otool) a possibility to dlopen libLTO and still initialize the required LLVM bits. This used to go through libMCDisassembler but that's a gross layering violation, the MC layer can't pull in functions from the targets. Adding a function to libLTO is a bit of a hack but not worse than exposing other disassembler bits from libLTO. Fixes PR14362. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
4d2e9d9a1c213db144785f386ce661914d17afb6 |
|
16-Apr-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove lto_codegen_set_whole_program_optimization. It is a work in progress, 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
a3706d6754e972c4339e4495a18d803027bb9195 |
|
09-Apr-2012 |
Bill Wendling <isanbard@gmail.com> |
s/lto_codegen_whole_program_optimization/lto_codegen_set_whole_program_optimization/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
3029a0c56a1e4249746ff6b54d825e88fee6cddf |
|
09-Apr-2012 |
Bill Wendling <isanbard@gmail.com> |
Add a hook to turn on the internalize pass through the LTO interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154306 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
168f1428346f3d51304db0be64e1d5e4a09ca4c2 |
|
31-Mar-2012 |
Bill Wendling <isanbard@gmail.com> |
Cleanup whitespace and remove unneeded 'extern' keyword on function definitions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
6244b518880842f2c15200ee041e06799e4cc779 |
|
21-Mar-2012 |
Gregory Szorc <gregory.szorc@gmail.com> |
Organize LLVM C API docs into doxygen modules; add docs This gives a lot of love to the docs for the C API. Like Clang's documentation, the C API is now organized into a Doxygen "module" (LLVMC). Each C header file is a child of the main module. Some modules (like Core) have a hierarchy of there own. The produced documentation is thus better organized (before everything was in one monolithic list). This patch also includes a lot of new documentation for APIs in Core.h. It doesn't document them all, but is better than none. Function docs are missing @param and @return annotation, but the documentation body now commonly provides help details (like the expected llvm::Value sub-type to expect). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
7a2bdde0a0eebcd2125055e0eacaca040f0b766c |
|
15-Apr-2011 |
Chris Lattner <sabre@nondot.org> |
Fix a ton of comment typos found by codespell. Patch by Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
6421a8815e14189121a5e20731fd005ea08793e1 |
|
22-Mar-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a lto_codegen_compile_to_file to avoid producing a file, reading it to memory and writing it back to disk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
f21b1058a194f411000bdd8000a8b675a7874056 |
|
17-Mar-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support in the LTO library for loading an object from the middle of an file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
b4cc031a3e1306fea74c9211d50c5cde6d9a8cd5 |
|
08-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't open the file again in the gold plugin. To be able to do this, update MemoryBuffer::getOpenFile to not close the file descriptor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125128 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
6a6623c596fc12f64c813ea14a006ac6da3e33fe |
|
07-Jan-2011 |
Devang Patel <dpatel@apple.com> |
Do not include DataTypes.h in llvm-c/lto.h. This means avoid using uint32_t. This patch reverts r112200 and fixes original problem by fixing argument type in lto.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123038 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
3cc52ea33c0b96d1682f14fc45c45b57df0f39b6 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
I swear I did a make clean and make before committing all this... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120304 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
7afea0cfc4abebaf4cadcc37acd30fb251a5faf3 |
|
27-Sep-2010 |
Bill Wendling <isanbard@gmail.com> |
Add a new scope type "LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN" for the "linker_private_weak_auto_def" linkage type for LTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114868 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
767b5b6227a49cac98c275ab05f1560da0fe90be |
|
26-Aug-2010 |
Devang Patel <dpatel@apple.com> |
Fix prototypes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
92b06c2c06666a4dcd36005323ec76d074bae3ca |
|
25-Aug-2010 |
Dan Gohman <gohman@apple.com> |
lto_codegen_set_gcc_path was removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112069 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
2d643ef32891859ec73b6eea2959748f5ebc3af7 |
|
11-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make it possible to set the cpu used for codegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110759 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
98197e55c10176c3ef9100f7d852abbd2347225f |
|
10-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make it possible to set the flags passed to the assembler. Nick, please review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
cbb170d057aa6692b19f577b1e09a6c1c7a26969 |
|
09-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make it possible to set the target triple and expose that with an option in the gold plugin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110604 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
ca3ca138d88139e24a8e60fef982436575a19f38 |
|
12-Jul-2010 |
Eric Christopher <echristo@apple.com> |
80 columns. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108126 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
21da1ed4f501ec2fbbda1795131aa9cfef565381 |
|
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
llvm-c/Core.h is no longer needed in lto.h, and it brings in several unwanted dependencies. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
0e7a54672cf346ee7c4aae10822c74f7c74f3fed |
|
02-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Maintain the old LTO API, by using the global context. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
335bcc760d60b0f8b450dc5924b03a2937b00a96 |
|
02-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Fix the LTO header for LLVMContext changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
31895e73591d3c9ceae731a1274c8f56194b9616 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Hold the LLVMContext by reference rather than by pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
cbad58624090933cb8fb85587e03be613a481309 |
|
04-Jun-2009 |
Nick Kledzik <kledzik@apple.com> |
<rdar://problem/6940611> libLTO.dylib needs to let linker specify path to assembler 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72823 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
1d621f71c84c4f4d0574c0fa17fc5a8f6c49b46f |
|
30-Apr-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Oops! Missed a file in my last commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70491 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
7431af050f287011fd52e64034ede6dd98193feb |
|
24-Apr-2009 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add LTO_SYMBOL_DEFINITION_WEAKUNDEF, use that on the gold plugin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
b454eabe7ff0824356ccdb75459a0312f43254c1 |
|
06-Feb-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Correct strange whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63927 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
4fd40e884c76ffbf1157ab4ca48a099c55eebb4f |
|
29-Nov-2008 |
Nick Lewycky <nicholas@mxc.ca> |
Add protected visibility to libLTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60257 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
a93ae711a91dd151ca4d28e4172e0de89d1594f3 |
|
04-Jul-2008 |
Devang Patel <dpatel@apple.com> |
Provide a hook to set the code generation debug options to investigate lto failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
16c1f44d91211a225497062ea508d58fd25085a9 |
|
04-May-2008 |
Gordon Henriksen <gordonhenriksen@mac.com> |
Use (void) instead of () in C code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
ef194ed74033eba099f4f391ffdfc176f9aa6f26 |
|
27-Feb-2008 |
Nick Kledzik <kledzik@apple.com> |
fixes from review of first commit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47695 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|
77595fc35642f990bfc5ad05b8e68d4056695eca |
|
26-Feb-2008 |
Nick Kledzik <kledzik@apple.com> |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47621 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm-c/lto.h
|