diff options
author | Lukas Sommer <sommer@esa.tu-darmstadt.de> | 2020-04-08 03:24:08 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2020-04-08 03:37:45 +0000 |
commit | d86ece13d93870241d838d2873f123aa771b7077 (patch) | |
tree | 1cf0810645a3ba6c9ef5b8a3c7b1de82b36028af /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 91eb442fdef0aacb996442042d2eeed52d71270b (diff) | |
download | llvm-d86ece13d93870241d838d2873f123aa771b7077.zip llvm-d86ece13d93870241d838d2873f123aa771b7077.tar.gz llvm-d86ece13d93870241d838d2873f123aa771b7077.tar.bz2 |
Keep output file after successful execution of mlir-opt
Invoke `keep()` on the output file of `mlir-opt` in case the invocation of `MlirOptMain` was successful, to make sure the output file is not deleted on exit from `mlir-opt`.
Fixes a similar problem in `standalone-opt` from the example for an out-of-tree, standalone MLIR dialect.
This revision also adds a missing parameter to the invocation of `MlirOptMain` in `standalone-opt`.
Differential Revision: https://reviews.llvm.org/D77643
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions