[PATCH] D65716: [ELF] Consistently priority non-* wildcards overs "*" in version scripts
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 04:48:19 PDT 2019
MaskRay updated this revision to Diff 213320.
MaskRay added a comment.
Address review comments
Add a helper:
static inline ArrayRef<VersionDefinition> versionDefinitionsNotLocalOrGlobal() {
return llvm::makeArrayRef(config->versionDefinitions).slice(2);
}
This turns out to simplify several places (`.slice(2)`, `.size() > 2`, etc).
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65716/new/
https://reviews.llvm.org/D65716
Files:
ELF/Config.h
ELF/Driver.cpp
ELF/ScriptParser.cpp
ELF/SymbolTable.cpp
ELF/Symbols.cpp
ELF/SyntheticSections.cpp
ELF/Writer.cpp
test/ELF/linkerscript/version-script.s
test/ELF/version-script-reassign-glob.s
test/ELF/version-script-reassign.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65716.213320.patch
Type: text/x-patch
Size: 14018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190805/b52ad83b/attachment.bin>
More information about the llvm-commits
mailing list