[llvm-bugs] [Bug 13613] llvm-nm prints incorrect symbol types on Mac

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 25 10:26:49 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=13613

Keith Smiley <k at keith.so> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k at keith.so
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Keith Smiley <k at keith.so> ---
This appears t be resolved, this code now produces the same output with all 3
nms that ship with macOS:

% nm a.out # Default llvm-nm with Xcode
0000000100000000 T __mh_execute_header
0000000100000f80 T _f1
0000000100000f90 T _f2
0000000100000fa0 T _main
                 U dyld_stub_binder
% ./build/bin/llvm-nm a.out # Trunk llvm-nm
0000000100000000 T __mh_execute_header
0000000100000f80 T _f1
0000000100000f90 T _f2
0000000100000fa0 T _main
                 U dyld_stub_binder
% xcrun nm-classic a.out # legacy nm
0000000100000000 T __mh_execute_header
0000000100000f80 T _f1
0000000100000f90 T _f2
0000000100000fa0 T _main
                 U dyld_stub_binder

-- 
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/20180725/e3aa82b7/attachment-0001.html>


More information about the llvm-bugs mailing list