aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-diff
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@quicinc.com>2021-06-18 12:24:03 -0500
committerKrzysztof Parzyszek <kparzysz@quicinc.com>2021-08-05 09:04:17 -0500
commitd0c3b61498ecc04c9d95f6af7eb7560727500d56 (patch)
treef50d46474fbcdcd5372feeef0c06d528e3da856d /llvm/tools/llvm-diff
parent1172a8a7639399fe0b8a6c78a7123b1c3f9cf833 (diff)
downloadllvm-d0c3b61498ecc04c9d95f6af7eb7560727500d56.zip
llvm-d0c3b61498ecc04c9d95f6af7eb7560727500d56.tar.gz
llvm-d0c3b61498ecc04c9d95f6af7eb7560727500d56.tar.bz2
Delay initialization of OptBisect
When LLVM is used in other projects, it may happen that global cons- tructors will execute before the call to ParseCommandLineOptions. Since OptBisect is initialized via a constructor, and has no ability to be updated at a later time, passing "-opt-bisect-limit" to the parse function may have no effect. To avoid this problem use a cl::cb (callback) to set the bisection limit when the option is actually processed. Differential Revision: https://reviews.llvm.org/D104551
Diffstat (limited to 'llvm/tools/llvm-diff')
0 files changed, 0 insertions, 0 deletions