llvm-project/lld/ELF
Fangrui Song 4542c18ef2 [ELF] -r: don't parse @ (symbol versioning) for .symver inline asm in bitcode
Fixes PR46420
Similar to D43307 for non-LTO.

Module-level inline assembly can use .symver to create a symbol with `@` in the name.
For relocatable output, @ should be retained in the symbol name. `@ver` should
not be parsed and dropped.

Reviewed By: grimar, psmith

Differential Revision: https://reviews.llvm.org/D82433
2020-06-24 08:22:22 -07:00
..
Arch [LLD][PowerPC] Add support for R_PPC64_GOT_PCREL34 2020-06-24 07:40:35 -05:00
AArch64ErrataFix.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
AArch64ErrataFix.h
ARMErrataFix.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
ARMErrataFix.h
CMakeLists.txt
CallGraphSort.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
CallGraphSort.h
Config.h [ELF] Add -z start-stop-visibility= to set __start_/__stop_ symbol visibility 2020-06-23 15:59:59 -07:00
DWARF.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
DWARF.h [ELF] --gdb-index: support .debug_loclists 2020-04-29 15:04:13 -07:00
Driver.cpp [ELF] -r: don't parse @ (symbol versioning) for .symver inline asm in bitcode 2020-06-24 08:22:22 -07:00
Driver.h
DriverUtils.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
EhFrame.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
EhFrame.h
ICF.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
ICF.h
InputFiles.cpp [ELF] Refactor ObjFile<ELFT>::initializeSymbols to enforce the invariant: InputFile::symbols has non null entry 2020-06-19 09:05:37 -07:00
InputFiles.h [ELF] Demote lazy symbols relative to a discarded section to Undefined 2020-06-09 11:27:34 -07:00
InputSection.cpp [lld][ELF][AArch64] Handle R_AARCH64_PLT32 relocation 2020-06-23 16:10:07 -07:00
InputSection.h [ELF][PPC64] Suppress toc-indirect to toc-relative relaxation if R_PPC64_TOC16_LO is seen 2020-04-30 09:16:51 -07:00
LTO.cpp [LLD][ThinLTO] Add --thinlto-single-module to allow compiling partial modules. 2020-06-10 15:32:30 -07:00
LTO.h
LinkerScript.cpp [ELF] Refine LMA offset propagation rule in D76995 2020-06-19 09:11:33 -07:00
LinkerScript.h [ELF][ARM] Support /DISCARD/ of subset of .ARM.exidx sections 2020-05-11 14:27:13 +01:00
MapFile.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
MapFile.h [ELF] Add --print-archive-stats= 2020-04-29 18:04:37 -07:00
MarkLive.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
MarkLive.h
Options.td [LLD][ThinLTO] Add --thinlto-single-module to allow compiling partial modules. 2020-06-10 15:32:30 -07:00
OutputSections.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
OutputSections.h
README.md
Relocations.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
Relocations.h
ScriptLexer.cpp [ELF] Don't cause assertion failure if --dynamic-list or --version-script takes an empty file 2020-06-05 15:59:54 -07:00
ScriptLexer.h
ScriptParser.cpp [ELF] Improve --export-dynamic-symbol performance by checking whether wildcard is really used 2020-06-17 17:12:10 -07:00
ScriptParser.h [ELF] Improve --export-dynamic-symbol performance by checking whether wildcard is really used 2020-06-17 17:12:10 -07:00
SymbolTable.cpp [ELF] --wrap: don't error `undefined reference to __real_foo` (--no-allow-shlib-undefined) if foo is a wrapped definition 2020-06-01 23:00:51 -07:00
SymbolTable.h
Symbols.cpp [ELF] Refine --export-dynamic-symbol semantics to be compatible GNU ld 2.35 2020-06-01 11:30:03 -07:00
Symbols.h [LLD][ELF] Implement --discard-* for cases when -r or --emit-relocs are used. 2020-04-25 18:59:41 +07:00
SyntheticSections.cpp [ELF] Set DF_1_PIE for -pie 2020-06-01 10:19:41 -07:00
SyntheticSections.h [LLD][ELF][ARM] recommit Fix ARM Exidx order for non monotonic section order 2020-04-24 13:47:28 +01:00
Target.cpp [ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {` 2020-05-15 08:49:53 -07:00
Target.h [ELF][PPC64] Synthesize _savegpr[01]_{14..31} and _restgpr[01]_{14..31} 2020-05-26 09:35:41 -07:00
Thunks.cpp [lld][ELF][AArch64] Handle R_AARCH64_PLT32 relocation 2020-06-23 16:10:07 -07:00
Thunks.h
Writer.cpp [ELF] Add -z start-stop-visibility= to set __start_/__stop_ symbol visibility 2020-06-23 15:59:59 -07:00
Writer.h

README.md

See docs/NewLLD.rst