[PATCH] D38239: [ELF] - Prefetch linkerscript symbols.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 07:20:50 PDT 2017
grimar created this revision.
Herald added a subscriber: emaste.
Currently symbols assigned or created by linkerscript are not processed early
enough. As a result it is not possible to version them or assign any other flags/properties.
Patch adds `prefetchSymbols()` method to script class. That allows to set `CanInline` for them,
as a result code is slightly simplified, and also it makes possible to version these symbols properly (
so change is useful for https://reviews.llvm.org/D37731/https://reviews.llvm.org/D36579 patches).
https://reviews.llvm.org/D38239
Files:
ELF/Driver.cpp
ELF/LTO.cpp
ELF/LinkerScript.cpp
ELF/LinkerScript.h
ELF/Writer.cpp
test/ELF/linkerscript/symbols-synthetic.s
test/ELF/mips-gp-ext.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38239.116552.patch
Type: text/x-patch
Size: 9144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170925/d7076931/attachment.bin>
More information about the llvm-commits
mailing list