<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Zhang, <div class=""><br class=""></div><span class="">If the slice you’re referring to is the embedded tbd content after each  `--- !tapi-tbd`, that represents a different dylib thats reexported by the top level library. In this case, libSystem is the top level library and it’s follow up contents (e.g. libcache) are the reexports. This isn't shown by default in nm. To display this information you can add the option `--add-inlinedinfo` to llvm-nm. </span><div class=""><span class=""><br class=""></span></div><div class=""><a href="https://llvm.org/docs/CommandGuide/llvm-nm.html#cmdoption-llvm-nm-add-inlinedinfo" class="">https://llvm.org/docs/CommandGuide/llvm-nm.html#cmdoption-llvm-nm-add-inlinedinfo</a> </div><div class=""><br class=""></div><div class="">- Cyndy </div><div class=""><br class=""></div><div class=""><div class=""><div><blockquote type="cite" class=""><div class="">On Jun 20, 2021, at 10:09 PM, Zhang via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><font class="">Hi:</font></div><div class="">I'm currently using the .TBDs shipped with Xcode 12.5.</div><div class=""><br class=""></div><div class="">Running ``llvm-nm /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libSystem.B.tbd``</div><div class=""><br class=""></div><div class="">only prints the symbols listed in the first "slice" of the tbd file:</div><div class=""><br class=""></div><div class="">```</div><div class=""><div class="">➜  LLVMRelease bin/llvm-nm /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libSystem.B.tbd</div><div class=""><br class=""></div><div class="">/usr/lib/libSystem.B.dylib (for architecture armv7):</div><div class="">00000000 S ___System_BVersionNumber</div><div class="">00000000 S ___System_BVersionString</div><div class="">00000000 S ___crashreporter_info__</div><div class="">00000000 S _libSystem_atfork_child</div><div class="">00000000 S _libSystem_atfork_parent</div><div class="">00000000 S _libSystem_atfork_prepare</div><div class="">00000000 S _mach_init_routine</div><div class=""><br class=""></div><div class="">/usr/lib/libSystem.B.dylib (for architecture armv7s):</div><div class="">00000000 S ___System_BVersionNumber</div><div class="">00000000 S ___System_BVersionString</div><div class="">00000000 S ___crashreporter_info__</div><div class="">00000000 S _libSystem_atfork_child</div><div class="">00000000 S _libSystem_atfork_parent</div><div class="">00000000 S _libSystem_atfork_prepare</div><div class="">00000000 S _mach_init_routine</div><div class=""><br class=""></div><div class="">/usr/lib/libSystem.B.dylib (for architecture arm64):</div><div class="">0000000000000000 S ___crashreporter_info__</div><div class="">0000000000000000 S _libSystem_atfork_child</div><div class="">0000000000000000 S _libSystem_atfork_parent</div><div class="">0000000000000000 S _libSystem_atfork_prepare</div><div class="">0000000000000000 S _mach_init_routine</div><div class=""><br class=""></div><div class="">/usr/lib/libSystem.B.dylib (for architecture arm64e):</div><div class="">0000000000000000 S ___crashreporter_info__</div><div class="">0000000000000000 S _libSystem_atfork_child</div><div class="">0000000000000000 S _libSystem_atfork_parent</div><div class="">0000000000000000 S _libSystem_atfork_prepare</div><div class="">0000000000000000 S _mach_init_routine</div></div><div class="">```</div><div class=""><br class=""></div><div class="">The remaining slices of the tbd file seems to be unparsed / unhandled by LLVM's Tapi facility. Is this intended or should I open a issue at bugzilla?</div><div class="">What's the intended TapiParser library to use?</div><div class=""><br class=""></div><div class="">I've uploaded the tbd file to <a href="https://gist.github.com/Naville/cd24dc26d8e5f770ddceb30d125d86b9" class="">https://gist.github.com/Naville/cd24dc26d8e5f770ddceb30d125d86b9</a> in case anyone needs to reproduce this</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Zhang</div><div class=""><includetail class=""><!--<![endif]--></includetail></div>_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>