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: unassignedb...@nondot.org
          Reporter: jh7370.2...@my.bristol.ac.uk
                CC: jh7370.2...@my.bristol.ac.uk, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to