We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c06db02 commit b62f734Copy full SHA for b62f734
llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
@@ -36,7 +36,7 @@ static void extractAliases(MaterializationResponsibility &R, Module &M,
36
A->replaceAllUsesWith(F);
37
A->eraseFromParent();
38
F->setName(AliasName);
39
- } else if (isa<GlobalValue>(Aliasee)) {
+ } else if (isa<GlobalVariable>(Aliasee)) {
40
auto *G = cloneGlobalVariableDecl(M, *cast<GlobalVariable>(Aliasee));
41
A->replaceAllUsesWith(G);
42
0 commit comments