[PATCH] D19015: [LTO] hook up lto_codegen_debug_options() to codegen target options
Thomas Guest via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 00:20:56 PDT 2016
thomasguest added a comment.
In http://reviews.llvm.org/D19015#399462, @joker.eph wrote:
> To put it differently: there is no command line option for LLVM (as a library), only APIs.
Yes, what I am really after is a way to configure codegen when using LLVM via the LTO library. At the moment I cannot do so.
The lto_codegen_debug_options() function does allow me to pass options in and does result in these options being parsed using cl::ParseCommandLineOptions() -- the problem is, without this patch, these options do not get applied, which I think is an issue for anyone trying to debug LTO.dll using lto_codegen_debug_options().
http://reviews.llvm.org/D19015
More information about the llvm-commits
mailing list