1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/lto
Bill Wendling 6026bd1239 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.

llvm-svn: 169656
2012-12-08 00:18:16 +00:00
..
CMakeLists.txt libLTO: Add a utility method to initialize the disassemblers. 2012-11-24 16:59:10 +00:00
lto.cpp Add the `lto_codegen_set_export_dynamic' function. 2012-12-08 00:18:16 +00:00
lto.exports Add the `lto_codegen_set_export_dynamic' function. 2012-12-08 00:18:16 +00:00
LTOCodeGenerator.cpp Add the `lto_codegen_set_export_dynamic' function. 2012-12-08 00:18:16 +00:00
LTOCodeGenerator.h Add the `lto_codegen_set_export_dynamic' function. 2012-12-08 00:18:16 +00:00
LTODisassembler.cpp libLTO: Add a utility method to initialize the disassemblers. 2012-11-24 16:59:10 +00:00
LTOModule.cpp Sort the #include lines for tools/... 2012-12-04 10:44:52 +00:00
LTOModule.h Sort the #include lines for tools/... 2012-12-04 10:44:52 +00:00
Makefile Place temporary LTO files into their own subdirectory. 2012-10-10 05:29:15 +00:00