[llvm-bugs] [Bug 40497] New: [Wasm] llvm-nm --extern-only skips some symbols

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 28 08:46:10 PST 2019


            Bug ID: 40497
           Summary: [Wasm] llvm-nm --extern-only skips some symbols
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: dan433584 at gmail.com
                CC: llvm-bugs at lists.llvm.org, sbc at chromium.org

Created attachment 21396
  --> https://bugs.llvm.org/attachment.cgi?id=21396&action=edit
.o file to reproduce the bug

With the attached conj.o, which is a WebAssembly .o file, llvm-nm reports it
has one globally-visible symbol:

$ llvm-nm conj.o 
00000001 T conj

However llvm-nm --extern-only doesn't print it:

$ ~/build.llvm/bin/llvm-nm --extern-only conj.o 

It's possible that this is related to the fact that conj has "hidden"
visibility here, however llvm-nm --extern-only on other targets does report
hidden symbols.

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/20190128/93981467/attachment.html>

More information about the llvm-bugs mailing list