[llvm-bugs] [Bug 42690] New: Support bitcode files in llvm-objcopy when possible

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 19 10:14:30 PDT 2019


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

            Bug ID: 42690
           Summary: Support bitcode files in llvm-objcopy when possible
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-objcopy/strip
          Assignee: unassignedbugs at nondot.org
          Reporter: tejohnson at google.com
                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

Currently llvm-objcopy emits an error when a file contains bitcode, which
causes an issue when a build that invokes it to, say, deal with symbol name
conflicts is attempted with any kind of LTO:

liblibiberty.a(alloca.o)': The file was not recognized as a valid object file

Some objcopy operations would be doable for bitcode however. For example,
symbol localization and renaming could be supported.

-- 
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/20190719/df96d5f7/attachment.html>


More information about the llvm-bugs mailing list