小编Mob*_*ius的帖子

绑定LLVM 3.8.4没有getGlobalContext

我试图遵循https://github.com/lsegal/my_toy_compiler,但即使它已针对LLVM 3.8.0进行了更新,我也无法使用brew with LLVM 3.8.4进行编译--with-clang --with-lld --with-jit --with-python.具体来说,我得到以下错误,use of undeclared identifier 'getGlobalContext'.

此外,该符号getGlobalContext不会出现在目录中的/usr/local/opt/llvm/include/llvm/IR/LLVMContext.h任何位置/usr/local/opt/llvm/include.

我希望最近这个函数已被弃用(我没有找到任何证据),或者我没有正确构建它.

任何提示将不胜感激.

注意我已经看到麻烦链接LLVM与项目包括Flex和Bison,它没有解决我的特定问题

compiler-construction llvm

7
推荐指数
2
解决办法
1671
查看次数

ReactNative 0.43-rc.2 FlatList - 尝试获取超出范围索引0的帧

我有一个特定于0.43-rc的问题.我将ListView迁移到FlatList,现在我收到以下错误:

TaskQueue: Error with task: Tried to get frame for out of range index 0
Run Code Online (Sandbox Code Playgroud)

它起源于VirtualizedList班级.

如果我忽略错误,列表似乎工作正常,所以我真的不知道出了什么问题.

我似乎无法找到有关为什么会发生这种情况的任何信息.有什么建议?

react-native

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

compiler-construction ×1

llvm ×1

react-native ×1