[all-commits] [llvm/llvm-project] 3775d8: Improve module dumping for debugging.

Richard Smith via All-commits all-commits at lists.llvm.org
Mon Mar 22 19:08:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3775d811ff6dc1ed844aee7d15263a447ee18d52
      https://github.com/llvm/llvm-project/commit/3775d811ff6dc1ed844aee7d15263a447ee18d52
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/Module.h
    M clang/include/clang/Lex/ModuleMap.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/lib/Basic/Module.cpp
    M clang/lib/Lex/Pragma.cpp

  Log Message:
  -----------
  Improve module dumping for debugging.

  * List inferred lists of imports in `#pragma clang __debug module_map`.

  * Add `#pragma clang __debug modules {all,visible,building}` to dump
    lists of known / visible module names or the building modules stack.




More information about the All-commits mailing list