[bindings][llvm][DI] warnings [-Wformat]
This commit is contained in:
committed by
Vasily Levchenko
parent
db253cb297
commit
3dc88795d8
@@ -209,7 +209,7 @@ void DIFunctionAddSubprogram(LLVMValueRef fn, DISubprogramRef sp) {
|
||||
auto dsp = llvm::cast<llvm::DISubprogram>(llvm::unwrap(sp));
|
||||
f->setSubprogram(dsp);
|
||||
if (!dsp->describes(f)) {
|
||||
fprintf(stderr, "error!!! f:%s, sp:%s\n", f->getName(), dsp->getLinkageName());
|
||||
fprintf(stderr, "error!!! f:%s, sp:%s\n", f->getName().str().c_str(), dsp->getLinkageName().str().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user