summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-08-21 20:58:45 +0000
committerManman Ren <manman.ren@gmail.com>2013-08-21 20:58:45 +0000
commit312c0b6a114929d14584d82e9159462021f79ea2 (patch)
tree5bca2d779d3d12f25a3b9d4879807dbb7234f206 /lib/CodeGen/CodeGenFunction.cpp
parenta206493b6c3808c26e94a72371aec73c1d8dfe75 (diff)
downloadclang-312c0b6a114929d14584d82e9159462021f79ea2.tar.gz
clang-312c0b6a114929d14584d82e9159462021f79ea2.tar.bz2
clang-312c0b6a114929d14584d82e9159462021f79ea2.tar.xz
Don't use mangleCXXRTTIName in TBAA for C code.
With r185721, calling mangleCXXRTTIName on C code will cause crashes. This commit fixes crashes on C testing cases when turning on struct-path TBAA. For C code, we simply use the Decl name without the context. This can cause two different structs having the same name, and may cause inaccurate but conservative alias results. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188930 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions