[all-commits] [llvm/llvm-project] 451460: [ELF] relocateNonAlloc & ICF: replace random acces...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Apr 10 23:11:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45146082e693415f37413c656e0a0fd13d0e3136
      https://github.com/llvm/llvm-project/commit/45146082e693415f37413c656e0a0fd13d0e3136
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-04-10 (Wed, 10 Apr 2024)

  Changed paths:
    M lld/ELF/ICF.cpp
    M lld/ELF/InputSection.cpp

  Log Message:
  -----------
  [ELF] relocateNonAlloc & ICF: replace random access iterators of relocations with input iterators. NFC

Also replace one `this->file` with a local variable as some function
calls are opaque to the compiler, causing unneeded reload.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list