mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-05 11:17:53 +00:00
Fit to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -58,8 +58,10 @@ void CallTargetFinder::findIndTargets(Module &M)
|
|||||||
}
|
}
|
||||||
if (N->isComplete() && !IndMap[cs].size()) {
|
if (N->isComplete() && !IndMap[cs].size()) {
|
||||||
++CompleteEmpty;
|
++CompleteEmpty;
|
||||||
std::cerr << "Call site empty: '" << cs.getInstruction()->getName()
|
std::cerr << "Call site empty: '"
|
||||||
<< "' In '" << cs.getInstruction()->getParent()->getParent()->getName()
|
<< cs.getInstruction()->getName()
|
||||||
|
<< "' In '"
|
||||||
|
<< cs.getInstruction()->getParent()->getParent()->getName()
|
||||||
<< "'\n";
|
<< "'\n";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -74,7 +76,8 @@ void CallTargetFinder::print(std::ostream &O, const Module *M) const
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
O << "[* = incomplete] CS: func list\n";
|
O << "[* = incomplete] CS: func list\n";
|
||||||
for (std::map<CallSite, std::vector<Function*> >::const_iterator ii = IndMap.begin(),
|
for (std::map<CallSite, std::vector<Function*> >::const_iterator ii =
|
||||||
|
IndMap.begin(),
|
||||||
ee = IndMap.end(); ii != ee; ++ii) {
|
ee = IndMap.end(); ii != ee; ++ii) {
|
||||||
if (!ii->first.getCalledFunction()) { //only print indirect
|
if (!ii->first.getCalledFunction()) { //only print indirect
|
||||||
if (!isComplete(ii->first)) {
|
if (!isComplete(ii->first)) {
|
||||||
|
Reference in New Issue
Block a user