[all-commits] [llvm/llvm-project] 85e50c: [ELF] Inline InputSection::getOffset into callers ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Nov 28 16:09:18 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85e50c10807f8d3ddd4d092afc23e75b818d0462
https://github.com/llvm/llvm-project/commit/85e50c10807f8d3ddd4d092afc23e75b818d0462
Author: Fangrui Song <i at maskray.me>
Date: 2021-11-28 (Sun, 28 Nov 2021)
Changed paths:
M lld/ELF/InputSection.cpp
M lld/ELF/InputSection.h
M lld/ELF/MapFile.cpp
Log Message:
-----------
[ELF] Inline InputSection::getOffset into callers and remove it. NFC
This is an unneeded abstraction which may cause confusion:
SectionBase::getOffset has the same name but hard codes -1 as the size of OutputSection.
More information about the All-commits
mailing list