1
0
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:
Matthew Voss 2019-11-14 12:33:52 -08:00
parent 09b7c59e10
commit 75810d03fe

View File

@ -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 {