1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/ObjectYAML
Saleem Abdulrasool 9599f4edb3 CodeGen: support an extension to pass linker options on ELF
Introduce an extension to support passing linker options to the linker.
These would be ignored by older linkers, but newer linkers which support
this feature would be able to process the linker.

Emit a special discarded section `.linker-option`.  The content of this
section is a pair of strings (key, value).  The key is a type identifier for
the parameter.  This allows for an argument free parameter that will be
processed by the linker with the value being the parameter.  As an example,
`lib` identifies a library to be linked against, traditionally the `-l`
argument for Unix-based linkers with the parameter being the library name.

Thanks to James Henderson, Cary Coutant, Rafael Espinolda, Sean Silva
for the valuable discussion on the design of this feature.

llvm-svn: 323783
2018-01-30 16:29:29 +00:00
..
CMakeLists.txt
CodeViewYAMLDebugSections.cpp
CodeViewYAMLSymbols.cpp Fix uninitialized read error reported by MSAN. 2018-01-08 21:38:50 +00:00
CodeViewYAMLTypeHashing.cpp
CodeViewYAMLTypes.cpp
COFFYAML.cpp
DWARFEmitter.cpp
DWARFVisitor.cpp
DWARFVisitor.h
DWARFYAML.cpp
ELFYAML.cpp CodeGen: support an extension to pass linker options on ELF 2018-01-30 16:29:29 +00:00
LLVMBuild.txt
MachOYAML.cpp
ObjectYAML.cpp
WasmYAML.cpp [WebAssembly] Add COMDAT support 2018-01-09 23:43:14 +00:00
YAML.cpp