функции-члене «void FunctionEmitContext::AddDebugPos(llvm::Value*, const SourcePos*, llvm::DIScope*)»:
/var/tmp/portage/dev-lang/ispc-1.15.0/work/ispc-1.15.0/src/ctx.cpp:1480:109: ошибка: no matching function for call to «llvm::DebugLoc::get(int&, int&, llvm::DIScope*)»
1480 | inst->setDebugLoc(llvm::DebugLoc::get(p.first_line, p.first_column, scope ? scope : GetDIScope()));
| ^
In file included from /usr/lib/llvm/12/include/llvm/IR/Instruction.h:22,
from /usr/lib/llvm/12/include/llvm/IR/BasicBlock.h:22,
from /usr/lib/llvm/12/include/llvm/IR/Function.h:27,
from /usr/lib/llvm/12/include/llvm/IR/InstrTypes.h:30,
from /var/tmp/portage/dev-lang/ispc-1.15.0/work/ispc-1.15.0/src/ctx.h:46,
from /var/tmp/portage/dev-lang/ispc-1.15.0/work/ispc-1.15.0/src/ctx.cpp:38:
/usr/lib/llvm/12/include/llvm/IR/DebugLoc.h:54:17: замечание: candidate: «llvm::DILocation* llvm::DebugLoc::get() const»
54 | DILocation *get() const;
| ^~~
пофиксил подсмотрев в master ispc :)
Обсуждают сегодня