[opaque pointer type] update for LLVM API change
llvm-svn: 236161
This commit is contained in:
@@ -2523,7 +2523,7 @@ void CodeGenModule::EmitAliasDefinition(GlobalDecl GD) {
|
||||
|
||||
// Create the new alias itself, but don't set a name yet.
|
||||
auto *GA = llvm::GlobalAlias::create(
|
||||
cast<llvm::PointerType>(Aliasee->getType())->getElementType(), 0,
|
||||
cast<llvm::PointerType>(Aliasee->getType()),
|
||||
llvm::Function::ExternalLinkage, "", Aliasee, &getModule());
|
||||
|
||||
if (Entry) {
|
||||
|
||||
Reference in New Issue
Block a user