Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 llvm-ld 中遇到断言失败崩溃。我想将此追溯到我的代码行(因为也许我的一些怪异的代码导致了这种情况)。
llvm-ld 可以创建一个日志文件或以其他方式指出它为什么不开心吗?
它不会是 ICU 中的代码,而是导致问题的 Alchemy(或 llvm 本身)中的代码。如果您真的想追踪它,最简单的方法是找出它失败的 llvm IR 构造,然后查看 Alchemy 前端或创建 llvm IR 的任何东西正在为此创建代码,然后将其回溯到等效代码中的行。