[llvm-bugs] [Bug 42686] New: Stop interpreting ELF symbol type 0x10 as IFUNC unconditionally

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 19 02:09:10 PDT 2019


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

            Bug ID: 42686
           Summary: Stop interpreting ELF symbol type 0x10 as IFUNC
                    unconditionally
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-nm
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

llvm-nm's sysv format interprets the symbol type 0x10 as "IFUNC"
unconditionally, but for non-GNU systems, this could be used for something
else, since it's in the reserved range. Even GNU nm doesn't print "IFUNC". It
prints "OS specific". We should probably change llvm-nm to do the same thing
here. Possibly, depending on the OS/ABI field, we could print IFUNC under some
circumstances, but it shouldn't always be the case.

-- 
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/20190719/48e4d74a/attachment-0001.html>


More information about the llvm-bugs mailing list