[PATCH] D70463: [LTO][Legacy] Add API for passing LLVM options separately

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 14:15:20 PST 2019


thegameg created this revision.
thegameg added reviewers: steven_wu, kledzik, dexonsmith.
Herald added subscribers: dang, hiraditya, inglorion, mehdi_amini.
Herald added a reviewer: deadalnix.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D70463

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70463.230146.patch
Type: text/x-patch
Size: 3591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191119/80e7c05b/attachment.bin>


More information about the llvm-commits mailing list