llvm-project
llvm-project copied to clipboard
Linker discards function addrspaces
| Bugzilla Link | 41154 |
| Resolution | FIXED |
| Resolved on | Nov 05, 2019 19:34 |
| Version | 8.0 |
| OS | All |
| CC | @ekatz,@yotann |
| Fixed by commit(s) | b36e3a8bac3ee95a5a67ab0acb6ef2a2602226a7 |
Extended Description
When processing functions that have nonzero address spaces, the linker discards the address spaces. For example:
define void @f() addrspace(40) { ret void }
Sending the above module through the linker will cause the address space to be reset to zero.
Fix available for review at https://reviews.llvm.org/D69361
assigned to @ekatz