Skip to content

Commit 28bb942

Browse files
author
Wael Yehia
committed
call visitGlobalValue from visitGlobalIFunc
1 parent 81a9c97 commit 28bb942

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,8 @@ void Verifier::visitGlobalAlias(const GlobalAlias &GA) {
997997
}
998998

999999
void Verifier::visitGlobalIFunc(const GlobalIFunc &GI) {
1000+
visitGlobalValue(GI);
1001+
10001002
Check(GlobalIFunc::isValidLinkage(GI.getLinkage()),
10011003
"IFunc should have private, internal, linkonce, weak, linkonce_odr, "
10021004
"weak_odr, or external linkage!",

0 commit comments

Comments
 (0)