[llvm-bugs] [Bug 43930] New: Crash when removing symbol table at same time as adding a symbol

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 7 07:54:42 PST 2019


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

            Bug ID: 43930
           Summary: Crash when removing symbol table at same time as
                    adding a symbol
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-objcopy/strip
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: alexander.v.shaposhnikov at gmail.com,
                    jake.h.ehrlich at gmail.com,
                    jh7370.2008 at my.bristol.ac.uk,
                    llvm-bugs at lists.llvm.org, rupprecht at google.com

If you wanted to remove all symbols and add a brand new one, one logical way
might be to use "llvm-objcopy -R .symtab --add-symbol foo=1234 in.o out.o".
This currently crashes, due to the symbol table internally being null. It
appears that in such a case, the symbol table is not being regenerated.

-- 
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/20191107/3137956d/attachment.html>


More information about the llvm-bugs mailing list