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

            Bug ID: 15544
           Summary: Address Sanitizer doesn't call new_handler when
                    allocation fails
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 10203
  --> http://llvm.org/bugs/attachment.cgi?id=10203&action=edit
Example program - taken from libc++ test suite

After calling set_new_handler(), if I attempt to allocate memory, and that
fails, I expect to have my new handler called. 

This works fine w/o ASan. But with ASan, the new handler is not called.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to