arda marked an inline comment as done.
arda added inline comments.
Comment at: llvm/lib/Bitcode/Writer/EmbedBitcodePass.cpp:26
+
+PreservedAnalyses EmbedBitcodePass::run(Module &M, ModuleAnalysisManager &AM) {
+ if (M.getGlobalVariable("llvm.embedded.module", true))
arda updated this revision to Diff 453345.
arda added a comment.
Herald added subscribers: cfe-commits, aheejin.
Herald added a project: clang.
Add clang and llvm related changes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131618/new/
https://rev
arda updated this revision to Diff 453386.
arda added a comment.
Replace section name from .fatlto to .llvm.lto
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131618/new/
https://reviews.llvm.org/D131618
Files:
clang/include/clang/Basic/CodeGenOp
arda updated this revision to Diff 453550.
arda added a comment.
Use obj2yaml and yaml2obj to avoid unreadable object files
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131618/new/
https://reviews.llvm.org/D131618
Files:
clang/include/clang/Bas
arda updated this revision to Diff 453751.
arda added a comment.
Add a clang Driver test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131618/new/
https://reviews.llvm.org/D131618
Files:
clang/include/clang/Basic/CodeGenOptions.def
clang/inclu
arda updated this revision to Diff 454048.
arda added a comment.
Invoke -flto=thin in the first stage of -ffat-lto-objects
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131618/new/
https://reviews.llvm.org/D131618
Files:
clang/include/clang/Basi
arda updated this revision to Diff 454585.
arda marked 9 inline comments as done.
arda added a comment.
Herald added a subscriber: mgorny.
Reimplement embed-bitcode part as a separate pass
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131618/new/
h
arda added inline comments.
Comment at: lld/test/ELF/fatlto/fatlto.test:4-6
+; clang -c -ffat-lto-objects -o a-fatLTO.o a.c
+; clang -c -ffat-lto-objects -o main-fatLTO.o main.c
+; clang -c a.c main.c
phosek wrote:
> LLD tests cannot depend on `clang`, that's a l
arda marked 2 inline comments as done.
arda added inline comments.
Comment at: lld/ELF/InputFiles.cpp:1721
+Expected fatLTOData =
IRObjectFile::findBitcodeInMemBuffer(mb);
+if (!errorToBool(fatLTOData.takeError()))
+ return make(*fatLTOData, archiveName, offsetInArc
arda marked 2 inline comments as done.
arda added inline comments.
Comment at: llvm/lib/Bitcode/Writer/EmbedBitcodePass.cpp:26
+
+PreservedAnalyses EmbedBitcodePass::run(Module &M, ModuleAnalysisManager &AM) {
+ if (M.getGlobalVariable("llvm.embedded.module", true))
10 matches
Mail list logo