[all-commits] [llvm/llvm-project] 1eaa9b: [ELF] initializeSections: move SHT_LLVM_CALL_GRAPH...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Dec 12 20:05:34 PST 2021


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

  Changed paths:
    M lld/ELF/InputFiles.cpp

  Log Message:
  -----------
  [ELF] initializeSections: move SHT_LLVM_CALL_GRAPH_PROFILE check into SHF_EXCLUDE && !relocatable. NFC

Avoid a comparison in the majority of cases.




More information about the All-commits mailing list