[all-commits] [llvm/llvm-project] 2bf5d8: [ELF] Change rawData to content() and data() to co...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Nov 20 14:43:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bf5d864229ed8f93253d284a4806d3e672679aa
      https://github.com/llvm/llvm-project/commit/2bf5d864229ed8f93253d284a4806d3e672679aa
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M lld/ELF/AArch64ErrataFix.cpp
    M lld/ELF/ARMErrataFix.cpp
    M lld/ELF/Arch/PPC64.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/Arch/X86_64.cpp
    M lld/ELF/DWARF.cpp
    M lld/ELF/Driver.cpp
    M lld/ELF/EhFrame.cpp
    M lld/ELF/ICF.cpp
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/InputSection.h
    M lld/ELF/MarkLive.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/SyntheticSections.cpp
    M lld/ELF/Target.cpp
    M lld/ELF/Writer.cpp

  Log Message:
  -----------
  [ELF] Change rawData to content() and data() to contentMaybeDecompress()

Clarify data() which may trigger decompression and make it feasible to refactor
the member variable rawData.




More information about the All-commits mailing list