[LLVMbugs] [Bug 22653] New: Add a weak/strong flag to RuntimeDyld's symbol table.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 20 17:12:31 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22653

            Bug ID: 22653
           Summary: Add a weak/strong flag to RuntimeDyld's symbol table.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Generic Execution Engine Support
          Assignee: unassignedbugs at nondot.org
          Reporter: lhames at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

RuntimeDyld's symbol table doesn't currently distinguish between weak and
strong symbols. All symbols are currently treated as strong, leading to
spurious symbol clashes.

We should add a 'weak' flag to RuntimeDyld's symbol table. The symbol
visibility support introduced in r226341 provides a template for how to
approach this, but rather than add more methods (along the lines of
getExportedSymbolLoadAddress), we should change RuntimeDyld's getSymbolAddress
methods to return a RTDyldSymbol object that provides access to both the 'weak'
flag and visibility.

-- 
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/20150221/a6cce850/attachment.html>


More information about the llvm-bugs mailing list