[PATCH] D108985: [objcopy] Enable llvm options to be passed via $LLVM_OPTS

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 1 00:36:57 PDT 2021


MaskRay added a comment.

`-debug` or `-debug-only=xxx` is for IR optimization and code generation debugging.
I am not sure such options are generally useful to llvm-objcopy.
Non-assert builds even make such options no-op, so I am concerned that `LLVM_OPTS` will be used to do such debugging.

I agree that this needs a wide discussion.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108985/new/

https://reviews.llvm.org/D108985



More information about the llvm-commits mailing list