我们在ServiceStack.Redis v4.0.48中收到以下错误
System.IndexOutOfRangeException:索引超出了数组的界限。在ServiceStack.Redis.RedisManagerPool.GetClient() at ServiceStack.Redis.RedisClientManagerCacheClient.Set at ServiceStack.ServiceExtensions.CacheSet at ServiceStack.ServiceStackHost.OnSaveSession(IRequest httpReq,IAuthSe
当从现有的AST构建IR时,我的AST有一些字符串值(编译时它们是从std::string构建的),我希望将它们安全地设置为llvm::Value,以便作为表达式的一部分使用。在这种情况下,我不需要在运行时绑定字符串,因为字符串值只用于在编译时解析变量、函数或类(语言不支持本机字符串类型)。更具体地说,如果我将llvm::Value设置为:
llvm::Value* v = llvm::ConstantArray: