[all-commits] [llvm/llvm-project] 93efe2: [ViewCFG] Allow printing edge weights in debuggers
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Sun Apr 26 13:18:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 93efe25ab386b25a04ae84f2d2019bdb0552cd2f
https://github.com/llvm/llvm-project/commit/93efe25ab386b25a04ae84f2d2019bdb0552cd2f
Author: Hongtao Yu <hoy at fb.com>
Date: 2020-04-26 (Sun, 26 Apr 2020)
Changed paths:
M llvm/include/llvm/Analysis/CFGPrinter.h
M llvm/include/llvm/IR/Function.h
M llvm/lib/Analysis/CFGPrinter.cpp
Log Message:
-----------
[ViewCFG] Allow printing edge weights in debuggers
Summary:
Extending the Function::viewCFG prototypes to allow for printing block probability info in form of .dot files during debugging.
Also avoiding an AV when no BFI/BPI available.
Reviewers: wenlei, davidxl, knaumov
Reviewed By: wenlei, davidxl
Subscribers: MaskRay, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77978
More information about the All-commits
mailing list