[all-commits] [llvm/llvm-project] 563cde: [LTO][Legacy] Decouple option parsing from LTOCode...

jsji via All-commits all-commits at lists.llvm.org
Wed Mar 31 09:44:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 563cdeaafd5812cb90656380a8f9d6b85d2abf08
      https://github.com/llvm/llvm-project/commit/563cdeaafd5812cb90656380a8f9d6b85d2abf08
  Author: Wael Yehia <wyehia at ca.ibm.com>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M llvm/include/llvm-c/lto.h
    M llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
    M llvm/lib/LTO/LTOCodeGenerator.cpp
    M llvm/tools/lto/lto.cpp
    M llvm/tools/lto/lto.exports

  Log Message:
  -----------
  [LTO][Legacy] Decouple option parsing from LTOCodeGenerator

in this patch we add a new libLTO API to specify debug options independent of an lto_code_gen_t.
This allows clients to pass codegen flags (through libLTO) which otherwise today are ignored.

Reviewed By: steven_wu

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




More information about the All-commits mailing list