[all-commits] [llvm/llvm-project] 0c41b1: [Driver][MachineOutliner] Support outlining option...

yroux via All-commits all-commits at lists.llvm.org
Wed Jan 6 07:08:45 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c41b1c9f93c09966b87126820d3cf41d8eebbf9
      https://github.com/llvm/llvm-project/commit/0c41b1c9f93c09966b87126820d3cf41d8eebbf9
  Author: Yvan Roux <yvan.roux at linaro.org>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    A clang/test/Driver/arm-machine-outliner.c

  Log Message:
  -----------
  [Driver][MachineOutliner] Support outlining option with LTO

This patch propagates the -moutline flag when LTO is enabled and avoids
passing it explicitly to the linker plugin.

Differential Revision: https://reviews.llvm.org/D93385




More information about the All-commits mailing list