[TimeProfiler] Fix "OptModule" section and add new "Backend" sections
authorAnton Afanasyev <anton.a.afanasyev@gmail.com>
Sat, 28 Sep 2019 07:14:12 +0000 (07:14 +0000)
committerAnton Afanasyev <anton.a.afanasyev@gmail.com>
Sat, 28 Sep 2019 07:14:12 +0000 (07:14 +0000)
commitf7a428ecaac999393aa52c0b409f3a7b730febc4
tree4c50f04be298a202350e364dec5080218e489e49
parent509a4947c911ace18560983466ba5b96f61b6bcb
[TimeProfiler] Fix "OptModule" section and add new "Backend" sections

Remove unnecessary "OptModule" section. Add "PerFunctionPasses",
"PerModulePasses" and "CodeGenPasses" sections under "Backend" section.

llvm-svn: 373142
clang/lib/CodeGen/BackendUtil.cpp
llvm/lib/IR/LegacyPassManager.cpp