[all-commits] [llvm/llvm-project] bffdee: [LTO][Legacy] Add API for passing LLVM options sep...

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Tue Nov 19 16:34:26 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bffdee8ef379126de3f2581214d89c1b29f440b7
      https://github.com/llvm/llvm-project/commit/bffdee8ef379126de3f2581214d89c1b29f440b7
  Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  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] Add API for passing LLVM options separately

In order to correctly pass options to LLVM, including options containing
spaces which are used as delimiters for multiple options in
lto_codegen_debug_options, add a new API:
lto_codegen_debug_options_array.

Unfortunately, tools/lto has no testing infrastructure yet, so there are
no tests associated with this patch.

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




More information about the All-commits mailing list