aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/integer-overflow.c
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-09-17 02:31:44 +0000
committerJohn McCall <rjmccall@apple.com>2010-09-17 02:31:44 +0000
commit769250ea70ca5af63c014453332bfa1d77ed556b (patch)
treec516d76aa1e7ebf19643ad0dad3188c0aee836a5 /clang/test/CodeGen/integer-overflow.c
parent6fe64b528d6b8e666da2f2bda62ff1565a9be601 (diff)
downloadllvm-769250ea70ca5af63c014453332bfa1d77ed556b.zip
llvm-769250ea70ca5af63c014453332bfa1d77ed556b.tar.gz
llvm-769250ea70ca5af63c014453332bfa1d77ed556b.tar.bz2
Currently we're initializing the vtable pointers of a class only after
the bases are completely initialized. This won't work --- base initializer expressions can rely on the vtables having been set up. Check for uses of 'this' in the initializers and force a vtable initialization if found. This might not be good enough; we might need to extend this to handle the possibility of arbitrary code finding an external reference to this (not yet completely-constructed!) object and accessing through it, in which case we'll probably find ourselves doing a lot more unnecessary stores. llvm-svn: 114153
Diffstat (limited to 'clang/test/CodeGen/integer-overflow.c')
0 files changed, 0 insertions, 0 deletions