[all-commits] [llvm/llvm-project] 861799: [ELF] maybeReportUndefined: move sym.isUndefined()...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Dec 16 00:27:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8617996ac1fdc52c5215165275fe61d82a594cc7
      https://github.com/llvm/llvm-project/commit/8617996ac1fdc52c5215165275fe61d82a594cc7
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M lld/ELF/Relocations.cpp

  Log Message:
  -----------
  [ELF] maybeReportUndefined: move sym.isUndefined() check to the caller. NFC

Avoid a function call in the majority of cases.




More information about the All-commits mailing list