llvm/include/llvm-c
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
..
Transforms Symbol hygiene: Make sure declarations and definitions match, make helper functions static. 2012-10-20 12:53:26 +00:00
Analysis.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
BitReader.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
BitWriter.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Core.h Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change. 2012-10-15 20:35:56 +00:00
Disassembler.h Add C API for specifying CPU to the disassembler. 2012-12-07 23:53:27 +00:00
EnhancedDisassembly.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
ExecutionEngine.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Initialization.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Linker.h Supply a C interface to the "LinkModules" method. 2012-05-09 08:55:40 +00:00
LinkTimeOptimizer.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
lto.h Add the `lto_codegen_set_export_dynamic' function. 2012-12-08 00:18:16 +00:00
Object.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Target.h Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis. 2012-10-15 16:24:29 +00:00
TargetMachine.h Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00