projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b663f30
)
[llvm-profdata] Delete unneeded empty output filename check
author
Fangrui Song
<i@maskray.me>
Sat, 19 Jun 2021 19:20:45 +0000
(12:20 -0700)
committer
Fangrui Song
<i@maskray.me>
Sat, 19 Jun 2021 19:20:45 +0000
(12:20 -0700)
llvm/tools/llvm-profdata/llvm-profdata.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-profdata/llvm-profdata.cpp
b/llvm/tools/llvm-profdata/llvm-profdata.cpp
index
b373c85
..
d8c77f3
100644
(file)
--- a/
llvm/tools/llvm-profdata/llvm-profdata.cpp
+++ b/
llvm/tools/llvm-profdata/llvm-profdata.cpp
@@
-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";