llvm-project/llvm/tools/lto
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
..
CMakeLists.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
LTOCodeGenerator.cpp Remove some coding violations. No functionality change. 2012-08-08 22:03:50 +00:00
LTOCodeGenerator.h Remove unused private fields found by clang's new -Wunused-private-field. 2012-06-06 18:25:08 +00:00
LTOModule.cpp Change the `linker_private_weak_def_auto' linkage to `linkonce_odr_auto_hide' to 2012-08-17 18:33:14 +00:00
LTOModule.h Add a way to grab the target options from the LTO command line. 2012-08-06 21:34:54 +00:00
Makefile Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
lto.cpp Remove lto_codegen_set_whole_program_optimization. It is a work in progress, 2012-04-16 10:58:38 +00:00
lto.exports Remove lto_codegen_set_whole_program_optimization. It is a work in progress, 2012-04-16 10:58:38 +00:00