[all-commits] [llvm/llvm-project] 7b007a: [lld-macho][nfc] Move some methods from InputFile ...
Jez Ng via All-commits
all-commits at lists.llvm.org
Tue Dec 8 10:42:17 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7b007ac0800babe750c58b1aead15e1c3e7f3b0f
https://github.com/llvm/llvm-project/commit/7b007ac0800babe750c58b1aead15e1c3e7f3b0f
Author: Jez Ng <jezng at fb.com>
Date: 2020-12-08 (Tue, 08 Dec 2020)
Changed paths:
M lld/MachO/InputFiles.cpp
M lld/MachO/InputFiles.h
M lld/MachO/InputSection.cpp
M lld/MachO/InputSection.h
Log Message:
-----------
[lld-macho][nfc] Move some methods from InputFile to ObjFile
Additionally:
1. Move the helper functions in InputSection.h below the definition of
`InputSection`, so the important stuff is on top
2. Remove unnecessary `explicit`
Reviewed By: #lld-macho, compnerd
Differential Revision: https://reviews.llvm.org/D92453
Commit: 78976bf3dae2a4fac3b7fb2ab1a8d8e986ea36ff
https://github.com/llvm/llvm-project/commit/78976bf3dae2a4fac3b7fb2ab1a8d8e986ea36ff
Author: Jez Ng <jezng at fb.com>
Date: 2020-12-08 (Tue, 08 Dec 2020)
Changed paths:
M lld/MachO/InputFiles.cpp
A lld/test/MachO/bitcode-nodatalayout.ll
A lld/test/MachO/invalid/bad-archive-member.s
A lld/test/MachO/lto-archive.ll
Log Message:
-----------
[lld-macho] Support parsing of bitcode within archives
Also error out if we find anything other than an object or bitcode file
in the archive.
Note that we were previously inserting the symbols and sections of the
unpacked ObjFile into the containing ArchiveFile. This was actually
unnecessary -- we can just insert the ObjectFile (or BitcodeFile) into
the `inputFiles` vector. This is the approach taken by LLD-ELF.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D92539
Compare: https://github.com/llvm/llvm-project/compare/94e645f9cce8...78976bf3dae2
More information about the All-commits
mailing list