[all-commits] [llvm/llvm-project] 13a9b2: Don't delete the module you're inspecting

thegreatbeanz via All-commits all-commits at lists.llvm.org
Thu Jun 3 11:00:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13a9b2220f227631b3495a42abbab7fc2b414b69
      https://github.com/llvm/llvm-project/commit/13a9b2220f227631b3495a42abbab7fc2b414b69
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2021-06-03 (Thu, 03 Jun 2021)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    A clang/test/Modules/clang_module_file_info.m

  Log Message:
  -----------
  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




More information about the All-commits mailing list