forked from OSchip/llvm-project
parent
caf5acfd14
commit
d77557d0d9
|
@ -2679,9 +2679,10 @@ IRForTarget::StripAllGVs (Module &llvm_module)
|
||||||
|
|
||||||
GlobalValue::use_iterator ui = global_var->use_begin();
|
GlobalValue::use_iterator ui = global_var->use_begin();
|
||||||
|
|
||||||
log->Printf("Couldn't remove %s because of %s",
|
if (log)
|
||||||
PrintValue(global_var).c_str(),
|
log->Printf("Couldn't remove %s because of %s",
|
||||||
PrintValue(*ui).c_str());
|
PrintValue(global_var).c_str(),
|
||||||
|
PrintValue(*ui).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue