[all-commits] [llvm/llvm-project] 6c8149: [ELF] Don't use multiple inheritance for OutputSec...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Mar 8 11:23:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c814931bcaa547c22b10b9ac4ac1f3285da59d3
https://github.com/llvm/llvm-project/commit/6c814931bcaa547c22b10b9ac4ac1f3285da59d3
Author: Fangrui Song <i at maskray.me>
Date: 2022-03-08 (Tue, 08 Mar 2022)
Changed paths:
M lld/ELF/Driver.cpp
M lld/ELF/ICF.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/MapFile.cpp
M lld/ELF/OutputSections.cpp
M lld/ELF/OutputSections.h
M lld/ELF/ScriptParser.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Don't use multiple inheritance for OutputSection. NFC
Add an OutputDesc class inheriting from SectionCommand. An OutputDesc wraps an
OutputSection. This change allows InputSection::getParent to be inlined.
Differential Revision: https://reviews.llvm.org/D120650
More information about the All-commits
mailing list