mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[llvm-dis] Fix the disable-output flag
My change in llvmorg-10-init-9872-g141bb5f308f broke this flag. Thanks to @rsmith for the bug.
This commit is contained in:
parent
09b7c59e10
commit
75810d03fe
@ -186,7 +186,7 @@ int main(int argc, char **argv) {
|
|||||||
if (DontPrint)
|
if (DontPrint)
|
||||||
FinalFilename = "-";
|
FinalFilename = "-";
|
||||||
|
|
||||||
if (OutputFilename.empty()) { // Unspecified output, infer it.
|
if (FinalFilename.empty()) { // Unspecified output, infer it.
|
||||||
if (InputFilename == "-") {
|
if (InputFilename == "-") {
|
||||||
FinalFilename = "-";
|
FinalFilename = "-";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user