[llvm-dev] [lld] section attributes lld can use to safely drop a section from obj files
Sameer Abu Asal via llvm-dev
llvm-dev at lists.llvm.org
Tue Aug 6 11:47:27 PDT 2019
The autlolink feature in swift appends a section to the obj files
(.swift1_autolink_entries) that is later need to determine what t link
against in the final linked binary.
I am trying to get rid of these section in the final linked binary at link
time. I understand this could be done with (llvm-objcopy
--remove-section=.swift1_autolink_entries) but would like have the linker
Is there an attribute I can set in that section that the linker can safely
drop such a section?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev