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: unassignedb...@nondot.org
          Reporter: tejohn...@google.com
                CC: alexander.v.shaposhni...@gmail.com,
                    jake.h.ehrl...@gmail.com,
                    jh7370.2...@my.bristol.ac.uk,
                    llvm-bugs@lists.llvm.org, ruppre...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to