[llvm-bugs] [Bug 42622] New: --hash-symbols asserts for 64-bit ELFs

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 15 06:18:16 PDT 2019


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

            Bug ID: 42622
           Summary: --hash-symbols asserts for 64-bit ELFs
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-readobj
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: jh7370.2008 at my.bristol.ac.uk, llvm-bugs at lists.llvm.org

The --hash-symbols switch is currently broken for 64-bit ELF files, due to
r352630. That change changed a magic number as part of a refactor from 16 to 18
accidentally. 64-bit ELF is not tested in the --hash-symbols test (see
test/tools/llvm-readobj/gnu-hash-symbols.test). We should fix the bug and
expand the test.

For reference, the broken bit of code is in printHashedSymbol in ELFDumper.cpp.
The symptom is an assertion failure.

-- 
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/20190715/e15a8a93/attachment.html>


More information about the llvm-bugs mailing list