summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGLoopInfo.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-08-17 21:25:51 +0000
committerReid Kleckner <rnk@google.com>2018-08-17 21:25:51 +0000
commit786ae53d2b1ae5dd8f425cee22cd619c6fd5bcf8 (patch)
tree790b7cf535e841bbc44e8782a5eb3e84191782ce /clang/lib/CodeGen/CGLoopInfo.cpp
parent3fd44a109d5e66b45e516831ef21da6c155b3089 (diff)
downloadbcm5719-llvm-786ae53d2b1ae5dd8f425cee22cd619c6fd5bcf8.tar.gz
bcm5719-llvm-786ae53d2b1ae5dd8f425cee22cd619c6fd5bcf8.zip
Merging r340079:
------------------------------------------------------------------------ r340079 | rnk | 2018-08-17 13:59:27 -0700 (Fri, 17 Aug 2018) | 20 lines [MS] Mangle a hash of the main file path into anonymous namespaces Summary: This is needed to avoid conflicts in mangled names for codeview types in anonymous namespaces. In CodeView, types refer to each other typically through forward declarations, which contain mangled names. These names have to be unique, otherwise the debugger will look up the mangled name and find the wrong definition. Furthermore, ThinLTO will deduplicate the types, and debug info verification can fail when the types have the wrong sizes. This is PR38608. Fixes PR38609. Reviewers: majnemer, inglorion, hans Subscribers: mehdi_amini, aprantl, JDevlieghere, dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D50877 ------------------------------------------------------------------------ llvm-svn: 340087
Diffstat (limited to 'clang/lib/CodeGen/CGLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud