[PATCH] D24229: [ELF] - Versionscript: do not treat non-wildcarded names as wildcards.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 5 04:41:43 PDT 2016
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: grimar, evgeny777, llvm-commits, emaste.
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*)";
```
https://reviews.llvm.org/D24229
Files:
ELF/Config.h
ELF/LinkerScript.cpp
ELF/ScriptParser.cpp
ELF/SymbolTable.cpp
test/ELF/version-script-extern-exact.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24229.70317.patch
Type: text/x-patch
Size: 4108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160905/2e936dfa/attachment.bin>
More information about the llvm-commits
mailing list