llvm-6502/tools/lto
Bill Wendling f62b9cd890 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
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