Skip to content
Commit 01ade177 authored by Richard Smith's avatar Richard Smith
Browse files

If the first argument of __builtin_object_size can be folded to a constant

pointer, but such folding encounters side-effects, ignore the side-effects
rather than performing them at runtime: CodeGen generates wrong code for
__builtin_object_size in that case.

llvm-svn: 157310
parent 9fc5c814
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment