[BOLT] Respect shouldPrint in dump-dot-all
authorAmir Ayupov <aaupov@fb.com>
Thu, 30 Jun 2022 00:01:02 +0000 (17:01 -0700)
committerAmir Ayupov <aaupov@fb.com>
Thu, 30 Jun 2022 00:01:17 +0000 (17:01 -0700)
commit798e92c6c49127c5b24ea349522c53f2d695bb26
treececc7610d68c73b19d616b3cf2df4dbda364acec
parentdee672ee8505ccf64f0ca38600ef9efb001cf4d1
[BOLT] Respect shouldPrint in dump-dot-all

Don't dump dot CFG graph for functions that should not be printed.

Reviewed By: rafauler, maksfb

Differential Revision: https://reviews.llvm.org/D128699
bolt/lib/Core/BinaryFunction.cpp