[LLVMbugs] [Bug 16001] New: GlobalOpt (in 3.3) removes alias in llvm.used

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 14 13:00:31 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16001

            Bug ID: 16001
           Summary: GlobalOpt (in 3.3) removes alias in llvm.used
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 15999
    Classification: Unclassified

This was fixed in r181524, which needs to be ported to 3.3.

This bug would normally be a small corner case, but clang (when optimizing)
depends on it being fixed to produce a symbol named 'f' for

extern "C" {
  __attribute__((used)) static void f() {
  }
}

which has a fairly big chance of hitting users.

-- 
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/20130514/e7db64f1/attachment.html>


More information about the llvm-bugs mailing list