hanchenye-llvm-project/lld/ELF
George Rimar cd574a5e46 Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards.
Fixed code that was not checked before on windows for me, because of testcases that are
disabled on that platform atm.

Inital commit message:
"[ELF] - Versionscript: do not treat non-wildcarded names as wildcards."
Previously we incorrectly handled cases when symbol name in extern c++ tag
was enclosed in quotes. Next case was treated as wildcard:

GLIBCXX_3.4 {                                                                   
    extern "C++" {  
    "aaa*"
   }
But it should have not. Quotes around aaa here means that we should have do exact
name matching.
That is PR30268 which has name with pointer is interpreted as wildcard by lld:

extern "C++" {                                                              
    "operator delete[](void*)";

Patch fixes the issue.

Differential revision: https://reviews.llvm.org/D24229

llvm-svn: 281049
2016-09-09 14:35:36 +00:00
..
CMakeLists.txt Fix shared library build. 2016-09-06 21:06:55 +00:00
Config.h Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
Driver.cpp ELF: clarify error when we don't know the output format 2016-09-08 21:06:29 +00:00
Driver.h COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
DriverUtils.cpp COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
EhFrame.cpp [ELF] Allow arbitrary code alignment in .eh_frame 2016-07-29 04:41:38 +00:00
EhFrame.h Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +00:00
Error.cpp Delete dead code. 2016-07-18 18:24:41 +00:00
Error.h ELF: Make check() always return a value. 2016-07-15 02:01:03 +00:00
ICF.cpp Compute section names only once. 2016-09-08 14:06:08 +00:00
ICF.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00
InputFiles.cpp [ELF] Fix DT_NEEDED value. 2016-09-08 21:18:38 +00:00
InputFiles.h [ELF][MIPS] Support .MIPS.abiflags section 2016-08-12 06:28:49 +00:00
InputSection.cpp Compute section names only once. 2016-09-08 14:06:08 +00:00
InputSection.h Compute section names only once. 2016-09-08 14:06:08 +00:00
LTO.cpp Internalize common variables. 2016-08-31 13:42:08 +00:00
LTO.h ELF: Remove member variables that are used only in one function. 2016-07-15 03:06:42 +00:00
LinkerScript.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
LinkerScript.h Linker script: implement AT [ (address) ] for PHDR 2016-09-09 09:46:16 +00:00
MarkLive.cpp Compute section names only once. 2016-09-08 14:06:08 +00:00
Mips.cpp [ELF][MIPS] Support .MIPS.abiflags section 2016-08-12 06:28:49 +00:00
Options.td Fix -output option. 2016-09-09 00:25:56 +00:00
OutputSections.cpp Define writeUint and use it. NFC. 2016-09-08 21:46:21 +00:00
OutputSections.h [ELF][MIPS] Fix initialization of TLS-related GOT entries 2016-09-08 09:07:19 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp [ELF][MIPS] Fix initialization of TLS-related GOT entries 2016-09-08 09:07:19 +00:00
Relocations.h Delete dead field. NFC. 2016-09-07 20:37:34 +00:00
ScriptParser.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
ScriptParser.h Remove dead ctor. 2016-07-30 00:13:30 +00:00
Strings.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
Strings.h Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
SymbolListFile.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
SymbolListFile.h [ELF] - Remove VersionScriptParser class and move the members to ScriptParser 2016-08-31 09:08:26 +00:00
SymbolTable.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
SymbolTable.h [ELF] - Use std::regex instead of hand written logic in elf::globMatch() 2016-09-02 21:17:20 +00:00
Symbols.cpp Delete unnecessary template. 2016-08-31 13:28:33 +00:00
Symbols.h Delete unnecessary template. 2016-08-31 13:28:33 +00:00
Target.cpp [ELF][MIPS] Support R_MIPS_TLS_DTPREL64 / R_MIPS_TLS_TPREL64 relocations calculation 2016-09-05 15:42:43 +00:00
Target.h [ELF] Set MAXPAGESIZE to 2MiB on x86-64 to match bfd and gold. 2016-08-17 02:10:51 +00:00
Thunks.cpp Sign extend a value before passing it to the Target. 2016-09-01 13:52:52 +00:00
Thunks.h Attempt to fix buildbots. 2016-07-09 23:02:37 +00:00
Writer.cpp Linker script: implement AT [ (address) ] for PHDR 2016-09-09 09:46:16 +00:00
Writer.h Linker script: implement AT [ (address) ] for PHDR 2016-09-09 09:46:16 +00:00

README.md

See docs/NewLLD.rst