How to check a static library is built contain bitcode?

前端 未结 5 1043
旧巷少年郎
旧巷少年郎 2020-12-07 11:59

I have a static library that is built by other company. I want to know if it\'s a static library containing bitcode, which command can detect it in terminal?

5条回答
  •  抹茶落季
    2020-12-07 12:06

    It is recommended to test against LLVM symbols:

    otool -l yourlib.a | grep LLVM

    You should get some lines with "__LLVM"

提交回复
热议问题