Set unnamed_addr on strings created through the IRBuilder.
[oota-llvm.git] / lib / VMCore / LLVMContextImpl.h
index faeebb6704d22d276a03ec441dab566f99806fe4..23971aafa74d8f6c47b0ef2976ea64b3c2f0d653 100644 (file)
@@ -119,7 +119,8 @@ public:
   /// will be automatically deleted if this context is deleted.
   SmallPtrSet<Module*, 4> OwnedModules;
   
-  void *InlineAsmDiagHandler, *InlineAsmDiagContext;
+  LLVMContext::InlineAsmDiagHandlerTy InlineAsmDiagHandler;
+  void *InlineAsmDiagContext;
   
   typedef DenseMap<DenseMapAPIntKeyInfo::KeyTy, ConstantInt*, 
                          DenseMapAPIntKeyInfo> IntMapTy;