[llvm-bugs] [Bug 40158] New: The output of llvm-readobj --needed-libs for a Mach-O file contains the library itself
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 26 00:57:31 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=40158
Bug ID: 40158
Summary: The output of llvm-readobj --needed-libs for a Mach-O
file contains the library itself
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: mh+llvm at glandium.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Example:
llvm-readobj /tmp/Firefox.app/Contents/MacOS/libmozglue.dylib --needed-libs
File: /tmp/Firefox.app/Contents/MacOS/libmozglue.dylib
Format: Mach-O 64-bit x86-64
Arch: x86_64
AddressSize: 64bit
NeededLibraries [
/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
/System/Library/Frameworks/ExceptionHandling.framework/Versions/A/ExceptionHandling
/usr/lib/libSystem.B.dylib
/usr/lib/libc++.1.dylib
/usr/lib/libobjc.A.dylib
@executable_path/libmozglue.dylib
]
It looks like this comes from the LC_ID_DYLIB load command that can be seen in
the `otool -l` output for the same file.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181226/10eaf0fb/attachment.html>
More information about the llvm-bugs
mailing list