[all-commits] [llvm/llvm-project] 597dfb: [Driver] Rename AddGoldPlugin to addLTOOptions. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Feb 14 08:14:05 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 597dfb3bd56cdb65a89c67775ce348f10af36aa0
      https://github.com/llvm/llvm-project/commit/597dfb3bd56cdb65a89c67775ce348f10af36aa0
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Ananas.cpp
    M clang/lib/Driver/ToolChains/CloudABI.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/lib/Driver/ToolChains/Fuchsia.cpp
    M clang/lib/Driver/ToolChains/Gnu.cpp

  Log Message:
  -----------
  [Driver] Rename AddGoldPlugin to addLTOOptions. NFC

AddGoldPlugin does more than adding `-plugin path/to/LLVMgold.so`.
It works with lld and GNU ld, and adds other LTO options.
So AddGoldPlugin is no longer a suitable name.

Reviewed By: tejohnson

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




More information about the All-commits mailing list