[LLVMbugs] [Bug 6524] opt -internalize breaks C++ initialization (compiling with clang)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 16 13:50:28 PDT 2010


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

Andrew Lenharth <alenhar2 at uiuc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |alenhar2 at uiuc.edu
         Resolution|WORKSFORME                  |

--- Comment #4 from Andrew Lenharth <alenhar2 at uiuc.edu> 2010-03-16 15:50:28 CDT ---
gcc works.s -lstdc++
./a.out
opt -internalize works.bc -o broken.bc
llc broken.bc
gcc broken.s -lstdc++
./a.out
Segmentation fault


internalize is internalizing weak_odr constants and available_externally
functions.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list