[clang] [Clang][counted_by] Refactor __builtin_dynamic_object_size on FAMs (PR #122198)
Yeoul Na via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 8 21:55:29 PST 2025
================
@@ -1343,6 +1430,12 @@ CodeGenFunction::emitBuiltinObjectSize(const Expr *E, unsigned Type,
assert(Ptr->getType()->isPointerTy() &&
"Non-pointer passed to __builtin_object_size?");
+ if (IsDynamic)
----------------
rapidsna wrote:
Why did this code block move to here from up there?
https://github.com/llvm/llvm-project/pull/122198
More information about the cfe-commits
mailing list