[ELF] Change rawData to content() and data() to contentMaybeDecompress()
authorFangrui Song <i@maskray.me>
Sun, 20 Nov 2022 22:43:22 +0000 (22:43 +0000)
committerFangrui Song <i@maskray.me>
Sun, 20 Nov 2022 22:43:22 +0000 (22:43 +0000)
commit2bf5d864229ed8f93253d284a4806d3e672679aa
tree7501396c2256dc6084cbcc9884097b99e325af7c
parent30f9eb1eb81cb3cac9016da1fb79e2ff80f766d6
[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.
17 files changed:
lld/ELF/AArch64ErrataFix.cpp
lld/ELF/ARMErrataFix.cpp
lld/ELF/Arch/PPC64.cpp
lld/ELF/Arch/RISCV.cpp
lld/ELF/Arch/X86_64.cpp
lld/ELF/DWARF.cpp
lld/ELF/Driver.cpp
lld/ELF/EhFrame.cpp
lld/ELF/ICF.cpp
lld/ELF/InputFiles.cpp
lld/ELF/InputSection.cpp
lld/ELF/InputSection.h
lld/ELF/MarkLive.cpp
lld/ELF/Relocations.cpp
lld/ELF/SyntheticSections.cpp
lld/ELF/Target.cpp
lld/ELF/Writer.cpp