3 Commits

Author SHA1 Message Date
Timm Baeder
4366324c89
[clang][bytecode] Improve __builtin_object_size handling (#179271)
This fixes a few more tests from `pass-object-size.c`, but we still
can't enable the entire file.
2026-02-05 08:32:50 +01:00
Timm Baeder
222fff827e
[clang][bytecode] Remove base casts in builtin_object_size (#176111)
If UseFieldDesc is set, we should use the "closest surrounding
subobject", which apparently cannot be a subclass pointer.

Fixes https://github.com/llvm/llvm-project/issues/176079
2026-01-15 11:44:56 +01:00
Timm Baeder
0d05c42b6a
[clang][bytecode] Improve __builtin_{,dynamic_}object_size implementation (#153601) 2025-08-18 11:12:33 +02:00