[llvm] [llvm] Fix __builtin_object_size interaction between Negative Offset … (PR #111827)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 20 13:01:24 PDT 2024
serge-sans-paille wrote:
I now have a better understanding, and indeed you're right. It's actually exactly the same situation as the one in non-dynamic case, but because the offset is negative *and* dynamic, the choice is incorrect. Which makes me think that in both cases, if we have the choice between two object with the same size + offset value, then choosing the one with the larger offset solves the issue. I'll check that.
https://github.com/llvm/llvm-project/pull/111827
More information about the llvm-commits
mailing list