首页 > 解决方案 > llvm-otool (mac) 的源代码在哪里?

问题描述

macOS 在其 CommandLineTools 中有 llvm-otool。

llvm-otool 在 llvm 中吗?我在https://github.com/llvm-mirror/llvm.git的 llvm 源代码中没有看到它。

有人知道在哪里可以找到它的源代码吗?

标签: macosllvmotool

解决方案


Apple 软件的开源部分的源代码可在https://opensource.apple.com/获得。具体来说,otool来源应该在这里:https://opensource.apple.com/source/cctools/和这里:https://opensource.apple.com/source/llvmCore/(根据其手册页,llvm-otool只是一个垫片,调用 LLVM 的objdump)。


推荐阅读