[PATCH] D31270: [wip] IR: Move linker options to top-level global metadata and remove dllexport storage class.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 13:01:36 PDT 2017

Peter Collingbourne <peter at pcc.me.uk> writes:

> Right. In principle we have an analogous situation in ELF: the IR may
> contain a declaration such as:
> declare hidden void @foo()
> and that could have an effect on foo's visibility (assuming it is >hidden)
> depending on whether the foo declaration was dropped.

This suggests another way to implement this. Say that declations can have
dllexport and that it is invalid to drop them.


More information about the llvm-commits mailing list