[PATCH] D137837: [Support] Move Target/CPU Printing out of CommandLine
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 11 11:12:08 PST 2022
MaskRay added a comment.
I am in favor of the spirit of the change and the direction moving target-specific stuff outside LLVMSupport.
There are tools which have default target specific behavior (llc, llvm-ar, etc) and more which don't.
At least for those which don't have default target specific behavior, the default target and host cpu information from many tools' `--version` is not really useful.
% llvm-dwarfdump --version
LLVM (http://llvm.org/):
LLVM version 16.0.0git
Optimized build with assertions.
Default target: x86_64-unknown-linux-gnu
Host CPU: skylake-avx512
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137837/new/
https://reviews.llvm.org/D137837
More information about the llvm-commits
mailing list