llvm-project/llvm/include/llvm-c
Bill Wendling 34bc34ecae Change the `linker_private_weak_def_auto' linkage to `linkonce_odr_auto_hide' to
make it more consistent with its intended semantics.

The `linker_private_weak_def_auto' linkage type was meant to automatically hide
globals which never had their addresses taken. It has nothing to do with the
`linker_private' linkage type, which outputs the symbols with a `l' (ell) prefix
among other things.

The intended semantic is more like the `linkonce_odr' linkage type.

Change the name of the linkage type to `linkonce_odr_auto_hide'. And therefore
changing the semantics so that it produces the correct output for the linker.

Note: The old linkage name `linker_private_weak_def_auto' will still parse but
is not a synonym for `linkonce_odr_auto_hide'. This should be removed in 4.0.
<rdar://problem/11754934>

llvm-svn: 162114
2012-08-17 18:33:14 +00:00
..
Transforms Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +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 Change the `linker_private_weak_def_auto' linkage to `linkonce_odr_auto_hide' to 2012-08-17 18:33:14 +00:00
Disassembler.h Remove tabs. 2012-07-19 00:01:33 +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
LinkTimeOptimizer.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
Object.h Organize LLVM C API docs into doxygen modules; add docs 2012-03-21 03:54:29 +00:00
Target.h [llvm-c] Make a few function declarations proper prototypes 2012-05-02 16:15:32 +00:00
TargetMachine.h Add a C binding to the Target and TargetMachine classes to allow for emitting 2012-04-11 10:25:24 +00:00
lto.h Remove lto_codegen_set_whole_program_optimization. It is a work in progress, 2012-04-16 10:58:38 +00:00