[PATCH] D120266: [clang][CodeGen] Avoid emitting ifuncs with undefined resolvers
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 22 16:01:06 PST 2022
MaskRay added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenModule.h:358
+ /// function declarations when we do not emit a definition for the resolver.
+ std::vector<llvm::GlobalIFunc *> MultiVersionIFuncs;
+
----------------
Optional: `SmallVector<X, 0>` typically compiles to less code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120266/new/
https://reviews.llvm.org/D120266
More information about the cfe-commits
mailing list