[PATCH] D87636: [ThinLTO] add post-thinlto-merge option to -lto-embed-bitcode
Mircea Trofin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 14 14:39:08 PDT 2020
mtrofin created this revision.
mtrofin added reviewers: tejohnson, zapster.
Herald added subscribers: llvm-commits, cfe-commits, dexonsmith, steven_wu, hiraditya, inglorion.
Herald added a reviewer: alexshap.
Herald added projects: clang, LLVM.
mtrofin requested review of this revision.
This will embed bitcode after ThinLTO merge, but before optimizations.
In the case the thinlto backend is called from clang, the .llvmcmd
section is also produced. Doing so in the case where the caller is the
linker doesn't yet have a motivation, and would require plumbing through
command line args.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87636
Files:
clang/lib/CodeGen/BackendUtil.cpp
clang/test/CodeGen/Inputs/start-lib1.ll
clang/test/CodeGen/Inputs/start-lib2.ll
clang/test/CodeGen/thinlto_embed_bitcode.ll
llvm/include/llvm/LTO/LTOBackend.h
llvm/lib/LTO/LTOBackend.cpp
llvm/test/LTO/X86/Inputs/start-lib1.ll
llvm/test/LTO/X86/embed-bitcode.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87636.291688.patch
Type: text/x-patch
Size: 8650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200914/259fc87f/attachment.bin>
More information about the cfe-commits
mailing list