diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-11-21 19:37:19 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-11-21 19:37:19 +0000 |
commit | 6f54fb00528ff520207d3a9d4174d6cf00e6d0cd (patch) | |
tree | fe83577f63c10c443a0d2c0ba23ad1c669d9ea10 /clang/lib/FrontendTool | |
parent | 78e2b901e5e4c399034d0b24f0cd7febc867ee75 (diff) | |
download | bcm5719-llvm-6f54fb00528ff520207d3a9d4174d6cf00e6d0cd.tar.gz bcm5719-llvm-6f54fb00528ff520207d3a9d4174d6cf00e6d0cd.zip |
[MergeFuncs] Generate alias instead of thunk if possible
The MergeFunctions pass was originally intended to emit aliases
instead of thunks where possible (unnamed_addr). However, for a
long time this functionality was behind a flag hardcoded to false,
bitrotted and was eventually removed in r309313.
Originally the functionality was first disabled in r108417 due to
lack of support for aliases in Mach-O. I believe that this is no
longer the case nowadays, but not really familiar with this area.
In the interest of being conservative, this patch reintroduces the
aliasing functionality behind a default disabled -mergefunc-use-aliases
flag.
Differential Revision: https://reviews.llvm.org/D53285
llvm-svn: 347407
Diffstat (limited to 'clang/lib/FrontendTool')
0 files changed, 0 insertions, 0 deletions