[all-commits] [llvm/llvm-project] 8bdbeb: [ELF] Fix SysV hash function.

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Fri Apr 14 14:15:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bdbebbecdd5d0f70fa0722659b67adee930c58c
      https://github.com/llvm/llvm-project/commit/8bdbebbecdd5d0f70fa0722659b67adee930c58c
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M llvm/include/llvm/Object/ELF.h
    M llvm/unittests/Object/ELFTest.cpp

  Log Message:
  -----------
  [ELF] Fix SysV hash function.

(a) Treat name as unsigned chars.

(b) Refactor for better optimization of main loop.

Differential Revision: https://reviews.llvm.org/D147890




More information about the All-commits mailing list