There was an error while loading. Please reload this page.
1 parent 39625b3 commit 5c936bcCopy full SHA for 5c936bc
1 file changed
lib/IRDec/ModuleLifter.cpp
@@ -45,10 +45,10 @@ class ModuleLifter {
45
for (auto &func : _llvmModule->functions()) {
46
if (!func.isDeclaration()
47
&& func.getLinkage() == llvm::Function::ExternalLinkage) {
48
- auto DIType = func.getSubprogram();
49
- if (!DIType)
+ auto subProgram = func.getSubprogram();
+ if (!subProgram)
50
continue;
51
- auto type = typeLifter.lift(DIType->getType());
+ auto type = typeLifter.lift(subProgram->getType());
52
if (auto funcType
53
= llvm::dyn_cast_if_present<glu::types::FunctionTy>(type)) {
54
auto funcDecl
0 commit comments