forked from OSchip/llvm-project
parent
e4e9e8e6e7
commit
abfafadfc7
|
@ -29,9 +29,9 @@ using namespace llvm;
|
|||
|
||||
// Always verify if expensive checking is enabled.
|
||||
#ifdef XDEBUG
|
||||
bool VerifyRegionInfo = true;
|
||||
static bool VerifyRegionInfo = true;
|
||||
#else
|
||||
bool VerifyRegionInfo = false;
|
||||
static bool VerifyRegionInfo = false;
|
||||
#endif
|
||||
|
||||
static cl::opt<bool,true>
|
||||
|
|
|
@ -151,6 +151,8 @@ char RegionPrinter::ID = 0;
|
|||
INITIALIZE_PASS(RegionPrinter, "dot-regions",
|
||||
"Print regions of function to 'dot' file", true, true);
|
||||
|
||||
namespace {
|
||||
|
||||
struct RegionOnlyPrinter
|
||||
: public DOTGraphTraitsPrinter<RegionInfo, true> {
|
||||
static char ID;
|
||||
|
@ -158,6 +160,8 @@ struct RegionOnlyPrinter
|
|||
DOTGraphTraitsPrinter<RegionInfo, true>("reg", &ID) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
char RegionOnlyPrinter::ID = 0;
|
||||
INITIALIZE_PASS(RegionOnlyPrinter, "dot-regions-only",
|
||||
"Print regions of function to 'dot' file "
|
||||
|
|
Loading…
Reference in New Issue