[llvm-bcanalyzer] Don't dump the contents if -dump is not passed
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 13 Nov 2019 18:37:14 +0000 (10:37 -0800)
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>
Wed, 13 Nov 2019 18:38:57 +0000 (10:38 -0800)
commit1ca85b3d33a14394c9c11d68a40d038075d7e8ee
treed97bf45af252e9d96208045e60b30207d26c9303
parent7313d7d6188a0ea1cebe3aa5ec27d53f4ccc1286
[llvm-bcanalyzer] Don't dump the contents if -dump is not passed

With all the previous refactorings this slipped through and now we
always dump the contents of the bitcode files, even if -dump is not
passed.
llvm/test/Other/bcanalyzer-dump-option.txt [new file with mode: 0644]
llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp