diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2013-07-05 20:27:40 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2013-07-05 20:27:40 +0000 |
| commit | 1847c718fe61f8e99d77c60ab77c9bf2ad4d77aa (patch) | |
| tree | eb7fa82198fe7ad6be41ee13f2056e7fe7cfb0dd /lib/Basic/Module.cpp | |
| parent | 1ec4a86a867fc04f35d13bc9e33b04cf2171fe41 (diff) | |
| download | clang-1847c718fe61f8e99d77c60ab77c9bf2ad4d77aa.tar.gz clang-1847c718fe61f8e99d77c60ab77c9bf2ad4d77aa.tar.bz2 clang-1847c718fe61f8e99d77c60ab77c9bf2ad4d77aa.tar.xz | |
Don't use mangleCXXRTTIName in TBAA for C code.
This changes the TBAA code so it doesn't use mangleCXXRTTIName in C,
because it doesn't really make sense there. Also, as sort of a
defense-in-depth change, fix the mangler so it handles C RecordDecls
correctly.
No tests because I don't know the TBAA code well enough to write a test,
and I don't know how else to trigger mangling a local struct in C.
Fixes a crash with r185450 reported by Joerg Sonnenberger.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185721 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions
