mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-19 04:28:20 +00:00
s/PassDebugging_New/PassDebugging/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33307 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -39,7 +39,7 @@ enum PassDebugLevel {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static cl::opt<enum PassDebugLevel>
|
static cl::opt<enum PassDebugLevel>
|
||||||
PassDebugging_New("debug-pass", cl::Hidden,
|
PassDebugging("debug-pass", cl::Hidden,
|
||||||
cl::desc("Print PassManager debugging information"),
|
cl::desc("Print PassManager debugging information"),
|
||||||
cl::values(
|
cl::values(
|
||||||
clEnumVal(None , "disable debug output"),
|
clEnumVal(None , "disable debug output"),
|
||||||
@@ -426,7 +426,7 @@ Pass *PMTopLevelManager::findAnalysisPass(AnalysisID AID) {
|
|||||||
// Print passes managed by this top level manager.
|
// Print passes managed by this top level manager.
|
||||||
void PMTopLevelManager::dumpPasses() const {
|
void PMTopLevelManager::dumpPasses() const {
|
||||||
|
|
||||||
if (PassDebugging_New < Structure)
|
if (PassDebugging < Structure)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Print out the immutable passes
|
// Print out the immutable passes
|
||||||
@@ -441,7 +441,7 @@ void PMTopLevelManager::dumpPasses() const {
|
|||||||
|
|
||||||
void PMTopLevelManager::dumpArguments() const {
|
void PMTopLevelManager::dumpArguments() const {
|
||||||
|
|
||||||
if (PassDebugging_New < Arguments)
|
if (PassDebugging < Arguments)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
cerr << "Pass Arguments: ";
|
cerr << "Pass Arguments: ";
|
||||||
@@ -704,7 +704,7 @@ void PMDataManager::dumpPassArguments() const {
|
|||||||
|
|
||||||
void PMDataManager:: dumpPassInfo(Pass *P, std::string &Msg1,
|
void PMDataManager:: dumpPassInfo(Pass *P, std::string &Msg1,
|
||||||
std::string &Msg2) const {
|
std::string &Msg2) const {
|
||||||
if (PassDebugging_New < Executions)
|
if (PassDebugging < Executions)
|
||||||
return;
|
return;
|
||||||
cerr << (void*)this << std::string(getDepth()*2+1, ' ');
|
cerr << (void*)this << std::string(getDepth()*2+1, ' ');
|
||||||
cerr << Msg1;
|
cerr << Msg1;
|
||||||
@@ -715,7 +715,7 @@ void PMDataManager:: dumpPassInfo(Pass *P, std::string &Msg1,
|
|||||||
void PMDataManager::dumpAnalysisSetInfo(const char *Msg, Pass *P,
|
void PMDataManager::dumpAnalysisSetInfo(const char *Msg, Pass *P,
|
||||||
const std::vector<AnalysisID> &Set)
|
const std::vector<AnalysisID> &Set)
|
||||||
const {
|
const {
|
||||||
if (PassDebugging_New >= Details && !Set.empty()) {
|
if (PassDebugging >= Details && !Set.empty()) {
|
||||||
cerr << (void*)P << std::string(getDepth()*2+3, ' ') << Msg << " Analyses:";
|
cerr << (void*)P << std::string(getDepth()*2+3, ' ') << Msg << " Analyses:";
|
||||||
for (unsigned i = 0; i != Set.size(); ++i) {
|
for (unsigned i = 0; i != Set.size(); ++i) {
|
||||||
if (i) cerr << ",";
|
if (i) cerr << ",";
|
||||||
|
Reference in New Issue
Block a user