[llvm-bugs] [Bug 41154] New: Linker discards function addrspaces

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 20 07:34:07 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41154

            Bug ID: 41154
           Summary: Linker discards function addrspaces
           Product: libraries
           Version: 8.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Linker
          Assignee: unassignedbugs at nondot.org
          Reporter: sean.m.bartell at gmail.com
                CC: llvm-bugs at lists.llvm.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190320/b355153b/attachment.html>


More information about the llvm-bugs mailing list