[PATCH] D16539: [FIX] 26194 - LLVM crash in CXXNameMangler::mangleType

Igor Chesnokov via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 31 01:09:16 PST 2016


ichesnokov added inline comments.

================
Comment at: lib/AST/ItaniumMangle.cpp:1799
@@ -1798,2 +1798,3 @@
       case LangAS::opencl_constant: ASString = "CLconstant"; break;
+      case LangAS::opencl_generic:  ASString = "CLgeneric";  break;
       //  <CUDA-addrspace> ::= "CU" [ "device" | "constant" | "shared" ]
----------------
ichesnokov wrote:
> The Windows mangler is pretty different and doesn't have this issue.
I'll try to fix on the Windows.


Repository:
  rL LLVM

http://reviews.llvm.org/D16539





More information about the cfe-commits mailing list