diff options
author | Chris Bieneman <chris.bieneman@me.com> | 2021-06-02 13:48:58 -0500 |
---|---|---|
committer | Chris Bieneman <chris.bieneman@me.com> | 2021-06-03 13:00:09 -0500 |
commit | 13a9b2220f227631b3495a42abbab7fc2b414b69 (patch) | |
tree | 8428c02703fd80b5819a87f77f285e5afe0d406c /llvm/lib/TextAPI/Target.cpp | |
parent | b865eead76577b031c6fae5e2490e7be0073f201 (diff) | |
download | llvm-13a9b2220f227631b3495a42abbab7fc2b414b69.zip llvm-13a9b2220f227631b3495a42abbab7fc2b414b69.tar.gz llvm-13a9b2220f227631b3495a42abbab7fc2b414b69.tar.bz2 |
Don't delete the module you're inspecting
Prior to this patch when you used `clang -module-file-info` clang would
delete the module on completion because the module was treated as an
output file.
This fixes the issue so you don't need to invoke cc1 directly to get
module file information.
Reviewed By: steven_wu, phosek
Differential Revision: https://reviews.llvm.org/D103547
Diffstat (limited to 'llvm/lib/TextAPI/Target.cpp')
0 files changed, 0 insertions, 0 deletions