mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
[llvm-profdata] Delete unneeded empty output filename check
This commit is contained in:
parent
61a08a19b8
commit
e2a2115bff
@ -2506,9 +2506,6 @@ static int show_main(int argc, const char *argv[]) {
|
||||
|
||||
cl::ParseCommandLineOptions(argc, argv, "LLVM profile data summary\n");
|
||||
|
||||
if (OutputFilename.empty())
|
||||
OutputFilename = "-";
|
||||
|
||||
if (Filename == OutputFilename) {
|
||||
errs() << sys::path::filename(argv[0])
|
||||
<< ": Input file name cannot be the same as the output file name!\n";
|
||||
|
Loading…
Reference in New Issue
Block a user