Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Misc #131

Merged
merged 2 commits into from
Nov 28, 2018
Merged

Misc #131

merged 2 commits into from
Nov 28, 2018

Conversation

nikic
Copy link

@nikic nikic commented Nov 28, 2018

Edit: Use fix to avoid auto-closing issues -- did GitHub get a lot more aggressive about this?

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347407 91177308-0d34-0410-b5e6-96231b3b80d8
@alexcrichton alexcrichton merged commit a784eca into rust-lang:rust-llvm-release-8-0-0-v2 Nov 28, 2018
@alexcrichton
Copy link
Member

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants