[NewPM] Add an option to dump pass structure
authorEvgeny Leviant <eleviant@accesssoftek.com>
Thu, 29 Apr 2021 07:29:42 +0000 (10:29 +0300)
committerEvgeny Leviant <eleviant@accesssoftek.com>
Thu, 29 Apr 2021 07:29:42 +0000 (10:29 +0300)
commit6a0283d0d23cc8b056005caa31097dfb78853548
treee2997da84badb1c733560a095d4d7ed0a84c1080
parentc2be2cda8d268d4a0adbede149a20e3fd284f1d7
[NewPM] Add an option to dump pass structure

Patch adds -debug-pass-structure option to dump pass structure when
new pass manager is used.

Differential revision: https://reviews.llvm.org/D99599
clang/lib/CodeGen/BackendUtil.cpp
clang/test/Driver/debug-pass-structure.c [new file with mode: 0644]
llvm/include/llvm/Passes/StandardInstrumentations.h
llvm/lib/Passes/StandardInstrumentations.cpp
llvm/test/Other/opt-O3-pipeline.ll