[LLVMbugs] [Bug 10060] Calling new[] with a variable size causes a crash (was: overloaded operator new[] gets a wrong argument value)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 1 09:15:50 PDT 2011


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

Eric Christopher <echristo at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |echristo at gmail.com
         Resolution|                            |FIXED

--- Comment #3 from Eric Christopher <echristo at gmail.com> 2011-06-01 11:15:50 CDT ---
I fixed this a while ago in ToT and it should make its way into Xcode soon (if
it isn't there already):

/Volumes/Data/builds/build-llvm/Debug+Asserts/bin/clang++ -arch armv6 -O0
-mthumb main.cpp -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
-miphoneos-version-min=4.2

new[] was called with size = 28
a = 0x0
new[] was called with size = 28
b = 0x0

-- 
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