[PATCH] D93385: [Driver][MachineOutliner] Support outlining option with LTO
Yvan Roux via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 16 02:26:09 PST 2020
yroux created this revision.
yroux added reviewers: paquette, efriedma, samparker.
Herald added a subscriber: inglorion.
yroux requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch propagates the -moutline flag when LTO is enabled and avoids passing it explicitly to the linker plugin.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93385
Files:
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/CommonArgs.h
clang/test/Driver/arm-machine-outliner.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93385.312161.patch
Type: text/x-patch
Size: 5027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201216/9a59d3ea/attachment.bin>
More information about the cfe-commits
mailing list